Image Cleaner for Magento 1 user guide

Overview

Image Cleaner for Magento 1 is an admin tool that finds and removes orphaned image files: files in media/catalog/product or media/catalog/category that are no longer referenced by any product or category. It compares what is on disk with Magento's image records and lists anything unmatched in a review grid before anything is deleted.

It adds two grids under an Image Cleaner admin menu:

  • Product Image Clean: scans media/catalog/product against product image entries
  • Category Image Clean: scans media/catalog/category against category images

Key features

  • Two grids, Product Image Clean and Category Image Clean, each with its own scan and delete workflow
  • Safe by design: nothing is removed automatically. The extension lists orphaned images first, and deleting is a separate, deliberate action
  • Load Unused Images scan: an on-demand comparison of the images on disk with the image references in the database
  • Single or mass delete: delete one image with its Delete link, or select several (Select All, Select Visible or checkboxes) and use a mass action
  • CSV export of the full unused-image list before you delete anything, as a backup record or for review outside the admin
  • For categories, both the Category Thumbnail and the Category Image fields are checked

Installation

You can install Image Cleaner with Magento Connect Manager, or by uploading the files over FTP or cPanel.

With Magento Connect Manager

  1. Log in to your admin panel.
  2. Go to System > Magento Connect > Magento Connect Manager.
  3. On the login screen, enter your admin user name and password.
Magento Connect Manager login screen
  1. After logging in, find the Direct package file upload section.
Direct package file upload section in Magento Connect Manager
  1. Upload the package file Magexweb_Imagecleaner-1.0.0.tgz and click Upload. Back up your website and database before you click Upload.
  2. When the installation is complete, log out of the admin panel and log in again. If you skip this, you may see a 404 page on the extension's pages.

With FTP or cPanel

  1. Extract Magexweb_Imagecleaner-1.0.0.tgz on your computer. You get an app folder.
  2. Upload that folder to your website's root with FTP or cPanel.
  3. If you are logged in to the admin panel, log out and log in again. Otherwise you may see a 404 page on the extension's pages.

Cleaning product images

Removing unused images with this extension is safe: it never deletes images by itself. It first lists all unused images, then you choose to remove the selected images or all of them. You can also export the list as a CSV file. Product Image Clean compares the product images in the database with the files in media/catalog/product.

  1. Go to Image Cleaner > Product Image Clean.
  2. Click Load Unused Images. All unused product images are listed in the grid.
  3. Select the images to delete. Delete a single image, or use the mass action to delete several.
Product Image Clean grid in the Magento 1 admin

Note: if your products use other custom image fields, email us at info@magexweb.com before cleaning.

Important: deletion is immediate and permanent. The module does not move files to a trash folder or keep a backup. Always take a media backup, or export the list and check it carefully, before a mass delete.

Cleaning category images

Category Image Clean compares each category's Thumbnail and Image with the files in media/catalog/category.

  1. Go to Image Cleaner > Category Image Clean.
  2. Click Load Unused Images. All unused category images are listed in the grid.
  3. Select the images to delete. Delete a single image, or use the mass action to delete several.
Category Image Clean grid in the Magento 1 admin

Support

For help, email info@magexweb.com.

Tell us about your project.

Share a few details and we will reply with questions, a recommended approach and next steps.

  • Email info@magexweb.com
  • Phone +91 99092 71288
  • Hours Mon–Fri, 10:00 AM to 8:00 PM IST
  • Office D-1002, Jasmin Green 1, Near Vaishnodevi Circle, Ahmedabad 382421, India

  • Free consultation
  • NDA available
  • Reply by email