Missing Images Checker

This script will run through your ZenCart database, provided by you in the connection information of the script, and then retrieve all images from products table of ZenCart. Then, the script will run through each of those images making sure that the image exists and is saved in the correct format. (For example, a .gif is actually a GIF.) This is useful if you use a batch product uploader like easyPopulate and you don't know which of your images are missing.

This should theoretically work with any and all versions of ZenCart but I have only tested it with 1.3.9, and 1.5.x series.

Forum Support Thread

Zen Cart® Versions v1.5.5
Original Author retched
Last Updated by torvista - 7 Dec 2018
Downloads 837

Version History

Missing Images Checker   -   Version: 2.0
many changes:
bug: was causing debug files, not easy to determine why...eventually rejigged the entire logic.
added admin page registration function
changed page to html5, removed obsolete tags, changed css to suit 1.55 admin pages
added products model to listing
moved all hard-coded text to language defines
added autosubmit checkboxs to select listing of all products or only errors +/- disabled products, +/- products with no images defined
added column sorting by jquery tablesorter
added pagination and corrected error counting
changed listing format
added edit button to product
Zen Cart® Versions v1.5.5
Date Added 7 Dec 2018
Author torvista
File Size 36.2 KB
PHP 5.3 Safe? No
Downloads 162
Missing Images Checker   -   Version: 1.0.4
Removed legacy 1.3 version
Switched to Zen Cart database infrastructure
Made "image not set" an error condition.
Zen Cart® Versions v1.5.0, v1.5.1, v1.5.2, v1.5.3, v1.5.4, v1.5.5
Date Added 4 Dec 2018
Author swguy
File Size 21.7 KB
PHP 5.3 Safe? No
Downloads 36
Missing Images Checker   -   Version: 1.0.3
v1.0.3 2014-08-08 14:14
* Force MUST Login to using this Module for Security Reason, since it show up the full server path.
Copy the contents of the "admin" folder to the admin folder of your shop whatever it is called (it should have been renamed from the default "admin").
The files are already arranged in their correct locations and there are *no* overwrites of core files!
For example
/admin/missing_images.php (Where replace above path to match your live shop.)
* You'll find "Missing Images Checker" under "Tools" in the Admin, both for ZC 1.3.9x to 1.5.3
* Add SQL Scripts to install in on the Admin Page for ZC 1.5.x Only, for easier now.
Zen Cart® Versions v1.3.9, v1.5.0, v1.5.1, v1.5.2, v1.5.3, v1.5.4, v1.5.5
Date Added 8 Aug 2014
Author explorer1979
File Size 33.2 KB
PHP 5.3 Safe? Yes
Downloads 497
Missing Images Checker   -   Version: 1.0.2
Minor coding changes were made. (Sorry still getting used to version numeration.)

v1.0.2 (2014-07-24 13:50)
- Removed the choice of running the script as MySQLi or MySQL. The script
will now check if it can run mysqli_connect. If not, it will run
mysql_connect. If that fails, the script will not run. The user also
has the option to force MySQL although this should NOT really be used. I
will still reserve the right to remove this option at a later time once
MySQL is removed from PHP.

- Consolidated the location of the query that is being run by the script to
one location. (There is no difference in SQL language between MySQL and
MySQLi. So having two seperate queries which produced the same result table
was a bit redundant.)

v1.0.1 (2014-07-24 12:58)
- Improved call for database_tables.php as suggested by lat9.
Thanks for the code suggestion.
Zen Cart® Versions v1.3.9, v1.5.0, v1.5.1, v1.5.2, v1.5.3
Date Added 24 Jul 2014
Author retched
File Size 20.3 KB
PHP 5.3 Safe? Yes
Downloads 87
Missing Images Checker   -   Version: 1.0
Zen Cart® Versions
Date Added 16 Jul 2014
Author retched
File Size 19.5 KB
PHP 5.3 Safe? Yes
Downloads 55

Zen-Cart, Internet Selling Services, Klamath Falls, OR