Print
Category: Virtuemart
Hits: 18646
Star InactiveStar InactiveStar InactiveStar InactiveStar Inactive
 

White spider removes redundunt images from Virtuemart 1.1.xImportant! Some people report this approach kills additional images too, even the needed ones. So backup before using the script. If you have a solution, please post it. It will be a good help for others.

With the flow of time Virtuemart 1.1.x aqquires with many redundant images. To clean up unused images in components/com_virtuemart/shop_image/product and components/com_virtuemart/shop_image/product/resized follow the steps below:

  1. Backup your web-site or at least Virtuemart images

  2. Create file /templates/YOURTEMPLATE/somefile.php with the following content:

  3. Follow link http://yoursite.com?tmpl=somefile and see the result:

    Cleaning up Virtuemart 1.1.x images

Found a typo? Please select it and press Ctrl + Enter.
FaLang translation system by Faboba