If this is your first visit, check our documentation. To post, register or login.
Forums / All Other Contributions/Addons / Image Handler 5 (for v1.5.5 - v1.5.8) Support Thread

Image Handler 5 (for v1.5.5 - v1.5.8) Support Thread

Started by lat9 on 15 Oct 2017, 3:54 PM · Views: 160,515

Results 741 to 760 of 774
12 Feb 2026, 3:00 PM
#741
goldbuckle avatar

goldbuckle

Zen Follower

Join Date:
Dec 2006
Location:
near Atlanta Georgia
Posts:
220
Plugin Contributions:
0

Image Handler 5 (for v1.5.5 - v1.5.8) Support Thread

lat9:

There's apparently a file in /includes/auto_loaders that's attempting to load that observer file, most likely with a filename that includes "colorbox".

I didn't see one unless I am overlooking it:

/**

  • File contains the autoloader loop
  • The autoloader loop takes the array from the auto_loaders directory
  • and uses it to construct the InitSystem.
  • see {@link https://docs.zen-cart.com/dev/code/init_system/} for more details.
  • @copyright Copyright 2003-2022 Zen Cart Development Team
  • @copyright Portions Copyright 2003 osCommerce
  • @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
  • @version $Id: Scott C Wilson 2022 Jul 05 Modified in v1.5.8-alpha $
    */
    if (!defined('IS_ADMIN_FLAG')) {
    die('Illegal Access');
    }
    $debugAutoload = false;
    if (defined('DEBUG_AUTOLOAD') && DEBUG_AUTOLOAD == true) $debugAutoload = true;
    if ($debugAutoload) {
    echo '<pre>$initSystemList=<br>';
    print_r($initSystemList);
    echo '</pre>';
    }
    foreach ($initSystemList as $entry) {
    switch ($entry['type']) {
    case 'include':
    if ($entry['forceLoad']) {
    if ($debugAutoload) echo 'case "include": ' . $entry['filePath'] . "<br>\n";
    include $entry['filePath'];
    } else {
    if ($debugAutoload) echo 'case "include_once": ' . $entry['filePath'] . "<br>\n";
    include_once $entry['filePath'];
    }
    break;
    case 'require':
    if ($entry['forceLoad']) {
    if ($debugAutoload) echo 'case "require": ' . $entry['filePath'] . "<br>\n";
    require $entry['filePath'];
    } else {
    if ($debugAutoload) echo 'case "require_once": ' . $entry['filePath'] . "<br>\n";
    require_once $entry['filePath'];
    }
    break;
    case 'class':
    if ($debugAutoload) echo 'case "class": ' . $entry['class'] . "<br>\n";
    $objectName = $entry['object'];
    $className = $entry['class'];
    $$objectName = new $className();
    break;
    case 'sessionClass':
    if ($debugAutoload) echo 'case "sessionClass": ' . $entry['class'] . "<br>\n";
    $objectName = $entry['object'];
    $className = $entry['class'];
    if (!$entry['checkInstantiated'] || !isset($_SESSION[$objectName])) {
    $_SESSION[$objectName] = new $className();
    }
    break;
    case 'objectMethod':
    if ($debugAutoload) echo 'case "objectMethod": ' . '$entry['method']=' . $entry['method'] . ', $entry['object']=' . $entry['object'] . "<br>\n";
    $objectName = $entry['object'];
    $methodName = $entry['method'];
    if (isset($_SESSION[$objectName]) && is_object($_SESSION[$objectName])) {
    $_SESSION[$objectName]->$methodName();
    } else {
    ${$objectName}->$methodName();
    }
    break;

Best,
Goldbuckle

12 Feb 2026, 3:47 PM
#742
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,142
Plugin Contributions:
56

Re: Image Handler 5 (for v1.5.5 - v1.5.8) Support Thread

GoldBuckle:

I didn't see one unless I am overlooking it:

/**

  • File contains the autoloader loop
  • The autoloader loop takes the array from the auto_loaders directory
  • and uses it to construct the InitSystem.
  • see {@link https://docs.zen-cart.com/dev/code/init_system/} for more details.
  • @copyright Copyright 2003-2022 Zen Cart Development Team
  • @copyright Portions Copyright 2003 osCommerce
  • @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
  • @version $Id: Scott C Wilson 2022 Jul 05 Modified in v1.5.8-alpha $
    /
    if (!defined('IS_ADMIN_FLAG')) {
    die('Illegal Access');
    }
    $debugAutoload = false;
    if (defined('DEBUG_AUTOLOAD') && DEBUG_AUTOLOAD == true) $debugAutoload = true;
    if ($debugAutoload) {
    echo '<pre>$initSystemList=<br>';
    print_r($initSystemList);
    echo '</pre>';
    }
    foreach ($initSystemList as $entry) {
    switch ($entry['type']) {
    case 'include':
    if ($entry['forceLoad']) {
    if ($debugAutoload) echo 'case "include": ' . $entry['filePath'] . "<br>\n";
    include $entry['filePath'];
    } else {
    if ($debugAutoload) echo 'case "include_once": ' . $entry['filePath'] . "<br>\n";
    include_once $entry['filePath'];
    }
    break;
    case 'require':
    if ($entry['forceLoad']) {
    if ($debugAutoload) echo 'case "require": ' . $entry['filePath'] . "<br>\n";
    require $entry['filePath'];
    } else {
    if ($debugAutoload) echo 'case "require_once": ' . $entry['filePath'] . "<br>\n";
    require_once $entry['filePath'];
    }
    break;
    case 'class':
    if ($debugAutoload) echo 'case "class": ' . $entry['class'] . "<br>\n";
    $objectName = $entry['object'];
    $className = $entry['class'];
    $$objectName = new $className();
    break;
    case 'sessionClass':
    if ($debugAutoload) echo 'case "sessionClass": ' . $entry['class'] . "<br>\n";
    $objectName = $entry['object'];
    $className = $entry['class'];
    if (!$entry['checkInstantiated'] || !isset($_SESSION[$objectName])) {
    $_SESSION[$objectName] = new $className();
    }
    break;
    case 'objectMethod':
    if ($debugAutoload) echo 'case "objectMethod": ' . '$entry['method']=' . $entry['method'] . ', $entry['object']=' . $entry['object'] . "<br>\n";
    $objectName = $entry['object'];
    $methodName = $entry['method'];
    if (isset($_SESSION[$objectName]) && is_object($_SESSION[$objectName])) {
    $_SESSION[$objectName]->$methodName();
    } else {
    ${$objectName}->$methodName();
    }
    break;
    That's the autoloader processer, not one of the /includes/auto_loaders/config.
    .php files. I'll suggest that you find the support thread for ColorBox and post your issue there.
13 Feb 2026, 9:22 AM
#743
torvista avatar

torvista

Totally Zenned

Join Date:
Aug 2007
Location:
Gijón, Asturias, Spain
Posts:
2,880
Plugin Contributions:
7

Re: Image Handler 5 (for v1.5.5 - v1.5.8) Support Thread

Whenever you install a thing, you make notes about it, and keep a backup copy of the thing files you installed.
Then when you want to remove the thing, you can compare your thing backup with your site to be able to remove all the thing files.

So, get a copy of the Colorbox mod and compare it with your development site and remove all those files.

Steve
github.com/torvista: BackupMySQL, Structured Data, Multiple Copy-Move-Delete, Google reCaptcha, Image Checker, Spanish Language Pack and more...

5 May 2026, 4:56 PM
#744
jeff_mash avatar

jeff_mash

Totally Zenned

Join Date:
Aug 2004
Posts:
745
Plugin Contributions:
0

Re: Image Handler 5 (for v1.5.5 - v1.5.8) Support Thread

I'm trying to troubleshoot an issue and figured I'd ask here for ideas.

Fresh 2.2.2 install with an upgraded database of products from my 1.5.8a site. All images load fine with the IH5 plugin disabled.

When I enable it (IH version 5.3.5), none of the images load. I go to a product page, and the images don't load up. I open the bmz_cache and it's not creating anything for that product.

Folder permissions are 775 on the bmz_cache directory.

No debug logs being created to show errors.

Any ideas what else I can check?

This was working with version 5.3.0 on my 1.5.8a site. All I did was install a new 2.2.2 ZenCart in my testing directory, upgraded a copy of my database to that newest version, copied over my images, and installed the latest IH version.

  • Jeff
5 May 2026, 9:23 PM
#745
jeff_mash avatar

jeff_mash

Totally Zenned

Join Date:
Aug 2004
Posts:
745
Plugin Contributions:
0

Re: Image Handler 5 (for v1.5.5 - v1.5.8) Support Thread

This might be related to my issue above, so maybe answering this will help solve that.

I'm having a tough time trying to understand how additional images were changed in ZC 2.X.

I enabled "Database" for "Additional Images Handling" and ran the scan tool. The scan tool put a bunch of entries into the additional images table.

For example:
id products_id additional_image sort_order created_at
2 39110 64160-full_01.png 0 2026-05-05 14:03:02
3 39110 64160-full_02.png 1 2026-05-05 14:03:02

But when I go to that product ID on the storefront, I don't see any additional image button or link to display.

I am using Bootstrap 4 template. What am I missing?!

  • Jeff
5 May 2026, 9:32 PM
#746
jeff_mash avatar

jeff_mash

Totally Zenned

Join Date:
Aug 2004
Posts:
745
Plugin Contributions:
0

Re: Image Handler 5 (for v1.5.5 - v1.5.8) Support Thread

Jeff_Mash:

This might be related to my issue above, so maybe answering this will help solve that.

I'm having a tough time trying to understand how additional images were changed in ZC 2.X.

I enabled "Database" for "Additional Images Handling" and ran the scan tool. The scan tool put a bunch of entries into the additional images table.

For example:
id products_id additional_image sort_order created_at
2 39110 64160-full_01.png 0 2026-05-05 14:03:02
3 39110 64160-full_02.png 1 2026-05-05 14:03:02

But when I go to that product ID on the storefront, I don't see any additional image button or link to display.

I am using Bootstrap 4 template. What am I missing?!

Okay, I got the additional images to show but only in Bootstrap Mode 0 ("Use Bootstrap Additional Image Carousel"). If I change that value to 1, there are no thumbnails or buttons for additional images to show. Not sure why.

  • Jeff
5 May 2026, 10:52 PM
#747
jeff_mash avatar

jeff_mash

Totally Zenned

Join Date:
Aug 2004
Posts:
745
Plugin Contributions:
0

Re: Image Handler 5 (for v1.5.5 - v1.5.8) Support Thread

Nevermind my posts above. I figured it out. It was a misconfiguration in the ZC config file in our testing.

  • Jeff
20 May 2026, 1:38 PM
#748
amebb avatar

amebb

Zen Follower

Join Date:
May 2008
Location:
UK
Posts:
408
Plugin Contributions:
0

Re: Image Handler 5 (for v1.5.5 - v1.5.8) Support Thread

I need some urgent help, please, with Image Handler V4.

I am using ZC V1.5.8a and had been using Image handler 4 with no issues. I noticed that when i tried adding extra images, i would not be able to do this.

So, i reinstalled the files image handler4 files to correct the issue.

The problem that i have now is that I am unable to see my product descriptions and not able to see more than one product image.

I also realised that some products had several images. If i removed the immages and left one image behind, then i can see the full product listing plus one main image.

So, i think the issue is the Image Handler. What can i do to fix this issue where i can see my product description and multiple images too for each product?

Thank you

20 May 2026, 2:36 PM
#749
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,142
Plugin Contributions:
56

Re: Image Handler 5 (for v1.5.5 - v1.5.8) Support Thread

amebb:

I need some urgent help, please, with Image Handler V4.

I am using ZC V1.5.8a and had been using Image handler 4 with no issues. I noticed that when i tried adding extra images, i would not be able to do this.

So, i reinstalled the files image handler4 files to correct the issue.

The problem that i have now is that I am unable to see my product descriptions and not able to see more than one product image.

I also realised that some products had several images. If i removed the immages and left one image behind, then i can see the full product listing plus one main image.

So, i think the issue is the Image Handler. What can i do to fix this issue where i can see my product description and multiple images too for each product?

Thank you
Don't double-post; if you're really, really using IH-4 then that's your problem. You should use a supported version of Image Handler 5.

20 May 2026, 2:47 PM
#750
amebb avatar

amebb

Zen Follower

Join Date:
May 2008
Location:
UK
Posts:
408
Plugin Contributions:
0

Re: Image Handler 5 (for v1.5.5 - v1.5.8) Support Thread

lat9:

Don't double-post; if you're really, really using IH-4 then that's your problem. You should use a supported version of Image Handler 5.

sorry...

12 Sep 2026, 3:49 PM
#751
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,142
Plugin Contributions:
56

Re: Image Handler 5 (for v1.5.5 - v1.5.8) Support Thread

v5.4.0 of Image Handler-5 is now available for download: https://www.zen-cart.com/plugins/image-handler-5-zen-cart-157-vb2169

This release contains changes for these GitHub issues:

#20: Remove deprecated (in PHP 8.5+) calls to imagedestroy.
#23: Remove Fual-Slimbox and Colorbox integration; now required separate installation.
#22: Drop support for Zen Cart versions prior to 1.5.8 (language files renamed) and PHP versions less than 8.0.
#24: Add type-hints to functions and class properties/methods.
#29: Correct check for the various image-quality settings; values > 85 and < 100 were being reported as invalid.
#17: Protect against misconfigured background specifications.

24 Sep 2026, 2:25 AM
#752
rlexyd avatar

rlexyd

Zen Follower

Join Date:
Nov 2006
Location:
Sydney, Australia
Posts:
507
Plugin Contributions:
0

Re: Image Handler 5 (for v1.5.5 - v1.5.8) Support Thread

Hi Cindy, Thank you for always upgrading/maintaining IH, your time & effort is much appreciated :)

I could use some guidance from you.

I did a fresh install of 2.2.2 as upgrading from 1.5.7c is not an option for me right now, copied over the 1.5.7c Database and updated it using the zc_install and copied the images folder only to the new site images folder.

I had Image Handler 4 with Colorbox running on the previous website, ran beautifully.

Now I've trouble shooted some error log files with dbltoe, now that no error logs are created the 1st plugin I wanted is IH5 of course.

After uploading the files via FTP, I clicked on an admin page and nothing popped up on top of the screen, however the IH5 was under the Tools.

Anyway, I decided to uninstall it from admin and re-upload the plugin files via FTP and clicked on an admin page, this time I got the green successful IH5 installation notification.

Now went to check out a product, all was good with image and re-sizing.

The issue is with the additional images not showing up. (please view snapshot link) as the additional image is displaying as a little line under the main image, when you click it it pops up. (Can't move between images though).

https://ibb.co/v6fbkpMY

I went to the product admin page and removed the image associated with it and deleted it from images folder on the server, than re-uploaded a fresh image which worked fine, than went to IH5 and added an additional image and it uploaded fine, I go back to product page and the same thing is happening using different browsers.

Obviously I've done something wrong, could you help me identify some solutions please.

Thanking you in advance.

*Zen Cart eCommerce Solution - Putting the Dream of Owning an Online Business within reach of anyone!

24 Sep 2026, 11:47 AM
#753
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,142
Plugin Contributions:
56

Re: Image Handler 5 (for v1.5.5 - v1.5.8) Support Thread

@rlexyd, what template is in use? If you send me a link to the site via PM, I'd be better able to help since that screenshot doesn't "do it" for me!

27 Sep 2026, 3:30 AM
#754
rlexyd avatar

rlexyd

Zen Follower

Join Date:
Nov 2006
Location:
Sydney, Australia
Posts:
507
Plugin Contributions:
0

Re: Image Handler 5 (for v1.5.5 - v1.5.8) Support Thread

I've sent you the URL via PM, just checking if you received it.

Thank you once again.

*Zen Cart eCommerce Solution - Putting the Dream of Owning an Online Business within reach of anyone!

28 Sep 2026, 12:21 PM
#755
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,142
Plugin Contributions:
56

Re: Image Handler 5 (for v1.5.5 - v1.5.8) Support Thread

I took a look, comparing the CSS for the additional images' section to an unaltered responsive_classic and, unfortunately, saw no difference ... so I'm at a loss to explain that display.

28 Sep 2026, 10:03 PM
#756
rlexyd avatar

rlexyd

Zen Follower

Join Date:
Nov 2006
Location:
Sydney, Australia
Posts:
507
Plugin Contributions:
0

Re: Image Handler 5 (for v1.5.5 - v1.5.8) Support Thread

lat9:

I took a look, comparing the CSS for the additional images' section to an unaltered responsive_classic and, unfortunately, saw no difference ... so I'm at a loss to explain that display.

Thank you for taking a look into it.

It's doing that even using green template, so it's not template related.

I did the database update and removed database entries of IH5 Version: 5.1.11 and colorbox.

The only folder I ported was the images folder, nothing else.

Do you think it might have something to do with the database porting over to the new 2.2.2 install??

*Zen Cart eCommerce Solution - Putting the Dream of Owning an Online Business within reach of anyone!

29 Sep 2026, 5:49 AM
#757
pilou2 avatar

pilou2

Zen Follower

Join Date:
Jun 2008
Location:
Japan
Posts:
416
Plugin Contributions:
6

Re: Image Handler 5 (for v1.5.5 - v1.5.8) Support Thread

Just to check few things that were not mentioned here.

Were your additional images visible before installing IH?

What is your setting for Additional Images Handling in admin page Configuration->Images?

ZC v2.2.2 PHP 8.4+ MySQL 8.4+

29 Sep 2026, 6:04 AM
#758
rlexyd avatar

rlexyd

Zen Follower

Join Date:
Nov 2006
Location:
Sydney, Australia
Posts:
507
Plugin Contributions:
0

Re: Image Handler 5 (for v1.5.5 - v1.5.8) Support Thread

Hi again,

I just cloned my original 1.5.7c, I uninstalled IH5 from admin, than I upgraded the whole site to zc 2.2.2, I go to a product with multiple images and it doesn't show the additional images at all (No mini lines)!

One thing I did notice, when I go to admin on original 1.5.7c working website and go to image handler 5, than I display a product, it shows me the actual thumbnails of the small, medium and large images and thumbnails of the small and large images of the additional images. (Please view 1st/top Snapshot in below url)

On the Database only upgraded new site and on the full upgraded cloned site, it does NOT display the thumbnails of any of the images. (Please view 2nd/bottom Snapshot in same URL below)

Not sure if this due to changes/updates made in Zen cart v2.2.2 or in IH 5.4.0?!

https://imgur.com/a/U9QBCtH

*Zen Cart eCommerce Solution - Putting the Dream of Owning an Online Business within reach of anyone!

29 Sep 2026, 6:11 AM
#759
rlexyd avatar

rlexyd

Zen Follower

Join Date:
Nov 2006
Location:
Sydney, Australia
Posts:
507
Plugin Contributions:
0

Re: Image Handler 5 (for v1.5.5 - v1.5.8) Support Thread

pilou2:

Just to check few things that were not mentioned here.

Were your additional images visible before installing IH?

What is your setting for Additional Images Handling in admin page Configuration->Images?

Hi and thank you for your response.

I have tried setting them to BOTH filename-matching and database options with no change!

On the original website, yes, all additional images where working fine.

*Zen Cart eCommerce Solution - Putting the Dream of Owning an Online Business within reach of anyone!

29 Sep 2026, 6:59 AM
#760
pilou2 avatar

pilou2

Zen Follower

Join Date:
Jun 2008
Location:
Japan
Posts:
416
Plugin Contributions:
6

Re: Image Handler 5 (for v1.5.5 - v1.5.8) Support Thread

rlexyd:

pilou2:

Just to check few things that were not mentioned here.

Were your additional images visible before installing IH?

What is your setting for Additional Images Handling in admin page Configuration->Images?

Hi and thank you for your response.

I have tried setting them to BOTH filename-matching and database options with no change!

On the original website, yes, all additional images where working fine.

After instaling ZC 2.2.2, doing the database update and copying the image folder over, if you set Additional Images Handling to filename-matching, your additional images should be visible (because filenames follow the naming convention). If the setting is database they won't appear until you run a scan with the plugin Scan Additional Images.

In the first case you need IH to manage images in admin, in the second, you don't.

Looking at the link you provided, it looks like you use the database option but file names in database (table products_additional_images) and on disk don't match, most likely the file name on disk is different or the file is missing. It stil displays in popup when you click because it uses another file (large size one) in the large folder (or IH cache for large images).

You need to choose the method you want to use and set everything for it. It seems you have mixed up both and create a mess somewhere... In this case the best way is to restart clean making sure everything is fine before proceeding to next step...

ZC v2.2.2 PHP 8.4+ MySQL 8.4+