Where Does WordPress Store Images on Your Site?

Like Tweet Pin it Share Share Email

Are you questioning the place does WordPress retailer photographs in your web site? Many novices customers have requested us how does WordPress retailer photographs and what they will do to prepare their media library extra successfully. On this article, we’ll clarify how WordPress shops photographs in your web site.

Where does WordPress store images on your site

How Does WordPress Retailer Pictures?

WordPress comes with a built-in system to handle your media uploads like photographs, movies, music, paperwork, and so on. This technique means that you can add, handle, edit, and delete recordsdata out of your WordPress media library.

Media Library view in WordPress admin area

By default, WordPress shops all of your photographs and media uploads in /wp-content/uploads/ folder in your server. All uploads are organized in a month and 12 months based mostly folders.

For instance, all of your media recordsdata uploaded in in March 2016 can be saved in:

/wp-content/uploads/2016/03/

You may view these folders by connecting to your WordPress web site utilizing an FTP consumer.

FTP view of uploads directory of a WordPress site

WordPress additionally provides details about your picture uploads within the database. Details about your uploads is saved in database as a attachment submit sort beneath the posts desk.

Database entry for attachment post type as seen in phpMyAdmin

WordPress additionally saves info in posts meta desk while you insert photographs into posts/pages or another customized submit sort.

Whenever you set featured picture also called thumbnails, WordPress saves this info as a meta key _thumbnail_id and shops it within the postmeta desk of your database.

Thumbnail ID meta key stored in postmeta table

Deleting your recordsdata from server utilizing an FTP consumer will take away them out of your server, nevertheless it won’t take away them from the WordPress database. These photographs will proceed to seem in your WordPress web site as damaged photographs.

Equally, when you delete references to your photographs and media uploads from database, then WordPress will cease exhibiting them within the Media library. Even when all of your photographs are intact and saved in your server.

Altering How WordPress Shops Pictures and Media Uploads

By default, WordPress doesn’t will let you change the uploads location from WordPress admin space. The one change you can also make is to disable the month and 12 months based mostly folders by visiting Settings » Media web page.

Organizing uploads in months and year based folders

Merely uncheck the field subsequent to ‘Arrange my uploads into month- and year-based folders’ possibility and save your adjustments. WordPress will begin storing your recordsdata immediately in /wp-content/uploads/ folder.

Superior WordPress customers can use a customized add listing as a substitute of the default location. See our information on methods to change the default media add location in WordPress.

Organizing Your Pictures in WordPress

WordPress doesn’t will let you use customized folders when importing your photographs. This makes it troublesome for customers to prepare their photographs in a folder based mostly construction.

Nevertheless, you should use picture tagging to prepare your WordPress media uploads. WordPress gallery plugins like Envira Gallery make picture group simpler with albums and picture tags.

We hope this text helped you study the place does WordPress retailer photographs in your web site. You may additionally need to see our information on methods to discover royalty free photographs to your WordPress weblog.

When you appreciated this text, then please subscribe to our YouTube Channel for WordPress video tutorials. It’s also possible to discover us on Twitter and Fb.

Comments (0)

Leave a Reply

Your email address will not be published. Required fields are marked *