View Full Version : Remove Unused Images

08-31-2009, 10:10 AM
Added reading of category images
Added reading of manufaucturer images
Added option to check product description (default action) as many have html descriptions with images.
Added reading for some system files to check for images (default is header.php, index.php & stylesheet.css)
Added option to remove files from list by pattern match (ie thumbnails).
Removed some invalid html code
Modified to take image dir from configure.php
Corrected links so session wont be lost (could have caused failure of operation before &/or chuck you from admin)
Modified to move images to 'UNUSED' directory rather than renaming, means backup not needed and easier to revert. If files are in a sub-directory they will be moved to a sub-directory of 'UNUSED' with the same name.

Started support thread at http://forums.oscommerce.com/index.php?showtopic=343935 as couldn't find one.

tested on PHP 4 & 5, SQL 4 & 5, osC 2.2 ms2, rc1 & rc2a and is register_globals compatible


More... (http://addons.oscommerce.com/info/6346)