Plugin optimizes the process of generating custom image sizes in WordPress and offers a cleanup functionality for preexisting images.
If you were ever annoyed about the way WordPress handles images resizing, this is a plugin for you.
What this plugin does is it optimizes the image handling in such a way that images are resized only when they are actually needed. What that means is that if your plugins/theme define a lot of image sizes, none of them will be generated on the image upload (like they would be usually), but only if they are actually requested in that size.
Resizing is done only once, images are later normally served by WordPress, so there is no performance hit.
Plugin also includes a method for removing all of the previously generated image sizes (useful when you install this plugin on a site with a lot of existing media).
TO REMOVE image sizes generated prior to activating the plugin, visit the ‘Tools -> Remove image sizes’ and use the button to perform the cleanup.
Other than that, you don’t need to do anything, plugin works silently in the background.
To sum up:
optimize-images-resizing
folder to the /wp-content/plugins/
directoryoptimize-images-resizing
folder to the /wp-content/plugins/
directoryIs this a new site with no existing images? If the answer is yes, then there is nothing else you need to do, any uploads that happen after you activated this plugin will be automatically cleaned up. If the answer is no, keep reading.
Images can be cleaned up at any time by visiting ‘Tools -> Remove image sizes’ in your WordPress Dashboard. Simply click on the “Start new cleanup” button and wait for the process to finish (there is a visual feedback for the duration of the cleanup).
Plugin never cleans default image sizes (thumbnail, medium, large), so if your theme/plugins don’t define custom image sizes, you don’t need this plugin. Why does it not clean up those image sizes? Well the reason for that is that all of those image sizes are used in the Media UI of the WordPress Dashboard. What that means is: if plugin were to clean up all sizes, they would be generated for all of your images as soon as you would visit the Media screen. Since I don’t know of anyone that never visits the Media screen, it made sense to exclude those image sizes from the cleaning process and avoid the redundant server load.
A list of removed files is available only for the manual cleanup request, by checking the checkbox at the top of the plugin page. Once the request finishes, a message will appear stating how many images it removed. Click on the number to show the list of files that were removed in the process.
Not that I know of. Your WordPress website will continue working as it did before, only your uploads folder will be a bit lighter (depending on the number of images and image sizes you have). It’s certainly useful during migrations!