WordPress.org

Ready to get started?Download WordPress

Forums

How does WordPress Store Images (2 posts)

  1. treeleaf20
    Member
    Posted 2 years ago #

    All,
    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.

    Thanks!

  2. dkotter
    Member
    Posted 2 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

Tags

No tags yet.