(aka osCommerce contribution remove_unused_images)
any version of cre loaded series 6 cart, but easy to convert for all osCommerce-based carts (including oscMax, zencart)
What it does:
Scans and lists all your image files, compares the ones requested by the database products and products_description tables with all of the image files on the server in the /images directory and subdirectories of /images (one level deep.) Then shows a list of any unused images (ie on the server but not being called by the database) with the option of shifting
these into /images/UNUSED.
Ease of use:
Moderate skill needed – you do need to manually set the configuration options in the /admin/image_check.php file. Instructions are included as comments in this file.
Risk from use:
None – no files are actually deleted, only shifted. Low chance of conflict with other store files.
1. When searching product_descriptions, it will only report on images already on the server NOT on the ones called by the database and missing from the server.
2. Will only search one subdirectory deep in the /images folder, so /images/flowers/pic1.jpg will be scanned; /images/flowers/red/pic1.jpg will not be scanned.
Don’t want to try installing it yourself?
No problem – drop me an email and I can install it for you for a minimal amount.