Delete Old Images

Table of Contents

About

This extension allows you to quickly and easily find and delete old, unused images.  also includes a cache clearing (data and image caches) function.

REMEMBER TO BACKUP YOUR FILES BEFORE MAKING ANY CHANGES

~~~~~ * ~~~~~
This extention is only available for Opencart 3.x

~~~~~ * ~~~~~

Download

You can purchase and download this extension at the Opencart Extension Store

A full list of my extensions is availble here: Opencart Market Place

If you find you need to edit any files then I recommend the free Notepad++

New Installation - Opencart 3.x

  1. Go to Extensions -> Installer
  2. Upload the old_images_v1.3_oc3.x.ocmod file and wait for it to finish.
  3. Go to Admin -> Extensions -> Extensions, select Modules and install the Old Images Module.
  4. Go to Admin -> System -> Users -> User Groups and edit your Admin group. Set access and modify permissions for:
    extension/module/oldimage

Using the Extension

Go to Extensions -> Modules -> Oldimage to open the extention.

  1. Click the Add Directory button.
  2. Select a directory that you want check.
  3. Select if you want to check in sub-directories
  4. Click on the Check button and wait for the results. 
  5. Select files using the Checkboxes or use the Select All button.
  6. Click on the Delete button to delete the selected files.
  7. Click on the Move Images button to move the files to the ../backup folder.
  8. You can save the directory settings for later use by clicking on the Save Module button.
  9. Click on the Clear Cache button (top right of page) to clear the data and image caches.
  10. Click on the Delete Image Backup button (top right of page) to delete the image file backup.

Notes

  1. If you have a lot of images it may be necessary to check more directories instead of just checking top level and sub-directories. 
  2. There is NO undo.  Once deleted they are gone so make sure you have a site backup before deleting your images.

Upgrade

Follow the uninstall instructions and then install the latest version.

Uninstall

  1. Go to Extensions -> Modules and uninstall Oldimage
    - This removes the oldimage table from the database.
  2. Go to Extensions -> Installer
  3. Delete the old_images_v1.x_oc3.x.ocmod entry.
    - This removes the files from your server.

For help and support please use the email form Email Support Form

If something has gone wrong or you need support then please include as much information as possible and a full description of the problem.  If you send me an email that just says 'it's not working', support is going to take a lot longer as I'm going to have to start asking lots of questions.... the more information I have the quicker I can solve any problems.