Disk usage report
The scan counts product originals and resizes, the resizes of every size, the formats and pixel sizes of the originals. It changes nothing.
Frees the hosting space eaten by product photos. Shows how much the originals and resizes take, removes orphan files and unneeded resizes, compresses the originals to the size you need and finds dead links to supplier images.
The scan counts product originals and resizes, the resizes of every size, the formats and pixel sizes of the originals. It changes nothing.
Resizes without an original and originals without a database row: what deleted products and old imports left behind.
Unneeded resizes are deleted, originals without a row go to the trash for 7 days. A dry run shows everything in advance.
Photos of 3000-5000 px are scaled down to the chosen side and JPEG quality. A file is rewritten only when it gets at least 5% lighter.
In the settings the module shows a random catalog photo before and after compression with the file size, so you can pick the quality.
The module checks images stored as links to supplier sites and finds the ones that answer 404 or whose site is gone.
Long jobs run as a separate process, compression is split across several processes. Progress, time left and a Stop button are on the module page.
Files younger than a day are not touched. When there are too many orphans, moving them is cancelled. Deleted image rows are saved to a file.
A few steps and the module is running.