How does WordPress Store Images (2 posts)

  1. treeleaf20
    Posted 4 years ago #

    I'm trying to find out how WordPress stores the featured images. I looked in the wp_postmeta table and see that there is a field called _thumbnail_id and it contains a number. That part is fine, however where does WordPress store the link between that file and the image path to actually get the image?

    I'm trying to allow users to upload their own image and make that the featured image and just trying to understand how WordPress does it so I can create my own DB entries.


  2. Darin Kotter
    Posted 4 years ago #

    I would suggest checking out this page, which gives an overview of the database design.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.