Description
Kous Trash Product Image Cleaner scans WooCommerce products already in the Trash and identifies product images that are not used elsewhere.
Instead of deleting those files immediately, the plugin moves them into a recoverable quarantine. You can preview, search, filter, restore, or permanently delete individual images or selected groups of images.
Main features
- Preview product images before moving them to quarantine.
- Move only images considered safe and unused elsewhere.
- Protect images used by active products, variations, pages, or posts.
- Preview quarantined images in a larger lightbox.
- Search quarantined images by filename or source product.
- Filter by source product and product categories or brands.
- Restore or permanently delete selected images.
- Restore or permanently delete a single image directly from its card.
- Display source product, quarantine date, and file size.
- Optional automatic permanent deletion after 30, 60, or 90 days.
- Automatic deletion is disabled by default.
- Batch processing helps avoid timeouts on large product catalogs.
Always keep a current backup before performing bulk media operations.
Installation
- Upload the plugin ZIP from Plugins > Add New > Upload Plugin.
- Activate the plugin.
- Open WooCommerce > Trash Image Quarantine.
- Click Preview before moving any images.
- Review the protected and safe image counts.
- Move safe images to quarantine.
- Restore or permanently delete selected images when required.
FAQ
-
Are images deleted immediately?
-
No. Safe images are first moved to a quarantine folder and can be restored later.
-
Yes. Images detected as being used by other active products, variations, pages, or posts are not moved.
-
Can I restore only one image?
-
Yes. You can restore a single image or select multiple images for bulk restoration.
-
Does quarantine use additional disk space?
-
No duplicate copy is created. The existing image files are moved to the quarantine folder.
-
Can images be deleted automatically?
-
Yes. You can optionally enable permanent deletion after 30, 60, or 90 days. This option is disabled by default.
Reviews
There are no reviews for this plugin.
Contributors and Developers
“Kous Trash Product Image Cleaner for WooCommerce” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “Kous Trash Product Image Cleaner for WooCommerce” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Change Log
1.4.5
- Replaced slow meta queries and exclusionary WP_Query parameters with a cached active-content reference scan.
- Added a dedicated prefixed quarantine-ID index for faster quarantine status retrieval.
1.4.4
- Added the official WordPress.org owner username to Contributors.
- Declared WooCommerce through the Requires Plugins header.
- Replaced all internal identifiers with the unique koustrpic / KOUSTRPIC prefix.
- Matched the plugin folder, main file, and text domain to the official WordPress.org slug.
- Added translator comments for all placeholder strings.
- Updated compatibility declarations for WordPress 7.0 and WooCommerce 10.9.
- Improved protection for images referenced in page content, page-builder metadata, serialized fields, and theme settings.
- Replaced direct file operations with the WordPress Filesystem API.
- Improved request sanitization for WordPress.org compliance.
1.4.1
- Added the official PayPal donation link.
1.4.0
- Converted the complete administration interface to English.
- Added an English WordPress.org readme.txt.
- Added a Donate action link.
- Retained all quarantine, preview, filtering, restore, and cleanup features.
1.3.0
- Added filename and product search.
- Added source-product and category or brand filters.
- Added per-image restore and permanent-delete buttons.
- Added source product, quarantine date, and file-size information.
- Added optional automatic cleanup after 30, 60, or 90 days.
1.2.0
- Added image previews and selective restore or deletion.
1.1.0
- Added recoverable image quarantine.
