WordPress GuideImages → Media Library

What is the media library in WordPress? (and how to use it)

Photo of a Woman Holding a Paper with Charts Near Her Laptop

Trying to figure out how WordPress stores your images, videos, and PDFs? The Media Library is where it all lives—and once you understand how it works, managing content becomes a lot easier.

Get fast, reliable hosting for WordPress

Power your site with the industry’s fastest, most optimized WordPress hosting

What is the WordPress Media Library?

The Media Library in WordPress is a centralized area where you can upload, view, edit, and manage all the media files used on your site. That includes images, audio, video, PDFs, and other file types you’ve added through posts, pages, or directly from the dashboard. Whether you’re inserting a featured image, embedding a video, or attaching a downloadable PDF, it’s all coming from your Media Library.

You’ll find it by going to Media > Library in your WordPress dashboard. From there, you can browse files in grid or list view, search by keyword, or filter by file type and upload date.

How to add files to your Media Library

There are a few different ways to add media files:

1. Upload directly through the Media Library:

2. Upload while editing a post or page:

3. Use FTP or file manager tools: Advanced users can upload files via FTP or cPanel file manager, but those files won’t automatically appear in the Media Library unless you register them with a plugin like Add From Server.

How to edit files in your Media Library

Once a file is uploaded, you can tweak a few details right from your dashboard.

To edit file metadata:

To edit images directly:

Note: WordPress doesn’t offer built-in editing for non-image file types like PDFs or videos—you’ll need to replace or re-upload those if you want to change them.

Common Media Library errors (and how to resolve them)

1. Images not showing

This often happens due to:

Fixes:

And don’t worry about making images responsive in WordPress for different devices. WordPress automatically resizes images into three additional sizes post upload:

2. Media Library not loading

If your Media Library shows a blank screen or endless loading spinner:

Fixes:

3. File type not allowed

WordPress blocks certain file types by default (like SVGs or ZIPs).

Fixes:

4. Upload limit errors

If you get “file exceeds the maximum upload size,” your server’s upload_max_filesize or post_max_size settings are too low

Fix: Update your PHP settings via your host control panel

Media Library management best practices

Keeping your Media Library clean helps with performance and content organization. Here’s how:

How to use WordPress Media Library folders

By default, WordPress stores files in /wp-content/uploads/ organized by year and month (e.g. /uploads/2025/03/). But the Media Library doesn’t show folders natively in the dashboard.

To get visual folders for better organization:

This is a great option for content-heavy sites or when managing lots of product images.

How to export a Media Library from WordPress

You might need to export your Media Library when migrating a site or creating backups. There are several ways to do this.

1. Use the WordPress Export Tool:

2. Use a plugin:

3. Full site backups: Your hosting provider might have you covered. If you host with Liquid Web’s Managed Hosting for WordPress, for example, backups include your Media Library. You can restore individual files or entire directories without needing extra plugins.

Ready to get started?

Get the fastest, most secure WordPress.org hosting on the market.

Trust us to help you choose the ideal hosting solution

Loading form…