Manage WordPress Images in the Media Library

Anybody who has built a WordPress website with more than a few images in the media library knows what a pain it is to scroll and scroll to find that one image you need. It is an almost impossible task if you have a store with a multitude of images in your WordPress media library. In situations like that, it is often easier to just upload the image again that you need. However duplicating images takes a toll on several things. You database fills up more than necessary and your server fills up more than necessary.

Find out where your website ranks with your chosen keywords in Google, Yahoo and Bing.
14 day free trial. No credit card required.

There is a Solution

There is a plugin for WordPress called Media Library Categories Premium. The way this plugin works is to assign images to categories. You can create categories just like any other category, or create the category on the fly while uploading your images. You can always go back and assign the images to the correct category using the built-in single/bulk action tool that you are already familiar with.

Premium WooCommerce Extensions, WordPress Plugins & Themes Only $10 or Free with Membership

WordPress organizes things using categories and tags instead of separate folders like you may be used to on a standard website. You can sort and search for images based on their category. Lets say you have a clothes store. You sell shirts, pants, socks, dresses and more. Imagine you have 50 or more images for each category. You decide to write a new post putting a particular dress in the spot light or on sale and now you need to add a picture of that dress to the post. While you are adding an image to the media library, you have the option to sort by the dresses category you created for your images and then you only need to look through 50 images instead of the 200+ images in your media library.

While writing this post I captured a screen shot of adding an image. It is not a dress, but something on this site. I have over 1000 images in my media library. But I can easily find what I need with the plugin sort capability.

Full Media Library

All Categories Example

Sorted By Category Media Library

 Image Sort

Premium WooCommerce Extensions, WordPress Plugins & Themes Only $10 or Free with Membership

Adding Image to a Category During Upload

Upload Example


You can get the plugin here.

One Final Thing You May Want To Know

The default behavior of the category plugin is to add categories the same way WordPress would say when you create a post. The category shows up in your sidebar letting people know there is a post in that category. Well the plugin will do the same. If you do not mind people browsing your images by category, then the default behavior will be ok. Most people would prefer not to have image categories show up in their sidebar and not on the front-end anywhere. So, I have a solution for you to hide image categories from the front-end or your WordPress site and only you will see them on the back-end.

In your child theme functions.php include this code snippet:

//Wordpress Categories Images Filter Allow category display on back-end
* separate media categories from post categories
* use a custom category called ‘category_media’ for the categories in the media library
add_filter( ‘wpmediacategory_taxonomy’, function(){ return ‘category_media’; } );


Manage Your WordPress Images Easily

Share your thoughts!