This topic has 2 replies, 2 voices, and was last updated 8 months ago ago by Luca Rossi
Hello,
Could you tell me where is pictures attached to the blog post in MyPHPadmin?
I found that all the blog posts are at the table wpi6_posts with post_type value “post”.
but I do not see where are pictures attached to the posts.
kind regards,
Papuna
Hello Papuna,
Thank you for reaching out to us with your query regarding the location of pictures attached to blog posts in MyPHPadmin.
The images you are looking for are typically stored in the WordPress Media Library, and their corresponding records are also located in the wpi6_posts table, but with the post_type value set to “attachment”. These attachments are associated with posts through the wpi6_postmeta table.
To find the images attached to a specific post, you can look for entries in the wpi6_postmeta table where the meta_key is “_thumbnail_id” for featured images or “attached_file” for other images. The meta_value will give you the ID of the image, which you can then use to find the corresponding entry in the wpi6_posts table.
Please note that the actual image files are stored in the wp-content/uploads directory of your WordPress installation, and the database only stores the URLs and metadata associated with these files.
If you require further assistance or have any additional questions, please do not hesitate to contact us.
Best Regards,
8Theme’s Team
You must be logged in to reply to this topic.Log in/Sign up