The forum thread associated with the plugin described is: https://www.zen-cart.com/showthread....Support-Thread
In that thread, a message had been posted yesterday identifying that without IH, the plugin worked to swap the attribute with the main image and that the swapped image could be clicked to show the large image; however, when IH was in play, the image name included the _LRG suffix and then was not locateable... I advised the OP that I thought I had seen a recent issue of the suffix being added and causing image display issues when IH was in use and recommended reviewing the appropriate IH forum thread for such problem, solution and if necessary to provide more information about the setup. I haven't gone back to identify where I recently saw this issue or what changes were made, if any, but it appeared to me to be related to IH considering that swap module uses javascript to manipulate data already on the page versus recreating any links and if/where it does, it also uses ZC code to do so.
ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...
The issue you're remembering was due to a SiteMap XML setting, overriding the 'handle_image' function provided by Image Handler.
Since the problem lies with the interaction between your plugin and Image Handler, I'd appreciate it if you could identify the source of the issue. If it's actually a problem with IH, I'll be happy to correct it; I just don't have the time right now to create a separate installation for the investigation.
Hello,
I am testing out IH5 on my test site ( https://www.salvagecrate.com - php 7.0 - ZC 1.5.6). I want it mainly for the hover / mouse over function. I can get that to work on items in the featured and new product side boxes. But it won't work on the category pages or more importantly The product pages. Can IH5 do this ? Or am i maybe using the wrong plug. Below are examples of what I want to do.
https://www.amazon.com/LOCKED-T-Mobi...ls?ie=UTF8&me=
( notice how when you mouse over the phone image you get that zoomed in photo on the product page ? )
https://www.ebay.com/itm/Replacement....c100903.m5276
( Same as above )
Last edited by jasonshanks; 25 Mar 2020 at 05:42 AM.
Zencart 1.5.6c PHP 7.2 Order Replacement AC Adapters and Power Cords Online www.missingcord.com
That product-page plugin you're looking for could be based on this (https://mark-rolich.github.io/Magnifier.js/). I "know" there's a prepackaged version out there somewhere but can't find it quickly.
The image-zoom provided by IH5 (to be removed in the v5.2.0) isn't working on the by-category products' listing since you're (apparently) using a product's medium-sized images for that display and the image-zoom is applied only to small images.
Yes ! this is exactly what I am looking for. Is this it ?
https://www.magictoolbox.com/magiczo...ules/zen-cart/
wow !
Zencart 1.5.6c PHP 7.2 Order Replacement AC Adapters and Power Cords Online www.missingcord.com
MagicThumb will do the attribute swap for a little less money.
Example - https://allpecans.com/index.php?main...roducts_id=133
As you select a second or third flavor, the image changes.
https://allpecans.com/index.php?main...roducts_id=135 shows just one of the items changing the image.
Are You Vulnerable for an Accessibility Lawsuit?
myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.
Zencart 1.5.6c PHP 7.2 Order Replacement AC Adapters and Power Cords Online www.missingcord.com
OK, since you apparently don't have the time to see what's going on, I've created a zc156c test site with attrib-image-swap, IH5 and Colorbox and have successfully reproduced the issue identified by @ikirin.
When all three of those plugins are enabled (and using the /includes/modules/YOUR_TEMPLATE/additional_images.php provided by IH5), the 'swapped' attribute images display properly with Colorbox. When Colorbox is disabled, the issue occurs (image-not-found).
To correct the interoperation between the image-swap plugin and IH-5, you'll need to edit /includes/classes/ajax/zcAttrib_prod_info.php, starting at line #87:
Code:} else { //-bof-20200326-lat9-IH5 interoperation // hook for handle_image() function such as Image Handler etc if (function_exists('handle_image')) { $newimg = handle_image($products_image_large, $alt, $width, $height, $parameters); list($products_image_large, $alt, $width, $height, $parameters) = $newimg; } //-eof-20200326-lat9 // Generating only the javascript version of the link, because if javascript is disabled on the client side, then none of this is executed. $image_return = '<a href="javascript:popupWindow(\'' . zen_href_link(FILENAME_POPUP_IMAGE_ADDITIONAL, 'products_image_large_additional=' . $products_image_large) . '\')">' . $image . '<br /><span class="imgLink">' . $larger_text . '</span></a>'; }
Hi all , Having problems with certain categories in my database. Some ImageHandler works fine with . Others it says "*Product is Disabled" .
Tried reinstalling IH as advised on a thread here.
Seems to be products I have imported from Database I/O manager. Is there a field I am setting the incorrect value .
Any Help appreciated :)
![]()
Bookmarks