Image Cleanup
Did you ever scale or crop uploaded images in wordpress? Did you ever try various image generating plugins? Did you ever change or add various media image sizes? If yes, chances are that your content folder is full of unused and unreferenced images. These image leftovers will remain cluttering your
About this tool.
Did you ever scale or crop uploaded images in wordpress? Did you ever try various image generating plugins? Did you ever change or add various media image sizes? If yes, chances are that your content folder is full of unused and unreferenced images. These image leftovers will remain cluttering your content folder until the end of days.
Image Cleanup will index these (and many more) unreferenced images. Unreferenced images are not indexed in the wordpress database and also not used by posts, scripts or backup restore meta data. Please note that images which have valid database metadata but are not used in posts are not indexed at this time. This is beyond the scope of this plugin.
Image Cleanup will also find images without meta data and images with incorrect meta data.
- Save space taken up by unreferenced/backup images!
- Fix incorrect metadata (sizes)
- Bulk repair/delete functionality
- Pagination for extremely large result sets
- Logs tabs easily visible for reviewing!
- Detailed information in log tabs!
- Full restore functionality!
- Especially useful for developers!
- Written as class to avoid any conflicts!
- Highly configurable to avoid memory and/or timeouts on some setups
On my one month old website with 50 files (and 250 attachment size variants) this plugin found 95 unreferenced images which I could remove without any conflicts.
There has been a reported case where this plugin indexed and removed over 23.000 images on a website. See forum/review for details
Image Cleanup workflow details
- Retrieves all attachment images from the database (including size variants);
- Finds all images in the wp-content folder;
- Subtracts the attachment (and size variants) from physical found images;
The above will result in an list of invalid images which are not referenced by the database
- Posts will be searched for images and found images will be subtracted from the invalid files (if any);