Akshay Shah
Akshay Shah

Reputation: 3504

In which table the images are stored?

In wordpress Media Library where are uploading the images in which table it is storing the it can anyone have the idea in which table is it stored?

Upvotes: 0

Views: 890

Answers (2)

Ram Sharma
Ram Sharma

Reputation: 8809

it store data in wp_posts table and it's post_type is attachment and post_mime_type is like image/jpeg or as per the image and image path is stored in guid.

it copy image to /wp-content/uploads/current_year/current_month

Upvotes: 5

Satyendra
Satyendra

Reputation: 1705

Normally, WordPress never stores the images into Database tables.
While, any upload done goes to the following location:
/wp-content/uploads/2014/06
where, '2014' is the year and '06' is the month in which upload is done.

Upvotes: 0

Related Questions