About This File
Do you want to remove unnecessary unused 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.
Since version 1.4.0, the module parses product and category descriptions and searches for images in the text.
The following tables are checked:
- oc_product
- oc_product_image
- oc_product_description (new - since version 1.4.0)
- oc_option_value
- oc_category
- oc_category_description (new - since version 1.4.0)
- 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 !!