About This File
Do you want to remove unnecessary images from the server that remain after deleting products and take up disk space? Use the ImageScanner module!
How does the module work?
The module scans the specified folder with images. It also collects information about photos in the database from given tables. Then the resulting arrays are compared and pictures are shown that are in the folder on the disk, but they are not fixed anywhere in the database.
The following tables are checked:
- oc_product
- oc_product_image
- oc_option_value
- oc_category
- oc_manufacturer
- oc_banner_image
- oc_user
How to scan folders with the ImageScanner module correctly?
The main thing: do not scan the entire catalog folder !!