Re: Image Handler 5 (for v1.5.5) Support Thread
I have upgraded my store to Zen Cart v.2.1.0 and am using IH 5.3.5 with pHp v8.3 on my server
Due to a very large image folder, I didn't upload that folder during testing....and now that I'm live and the site is using that folder, I have one weird problem. My additional images are all showing as Large images, not thumbnails with the ability to enlarge them and these additional images are duplicated (showing 2 of them instead of one).
I have tried uninstalling the plugin via Admin->Tools->IH->Uninstall and then reinstalling. I received the confirmation of IH install at the top of my Admin panel when logging into my admin and I then went in to Admin->Images and set the Let IH resize images to true.
When going into the IH in Admin-> Tools, everything is there and working, and there are no Debug Log errors.
Can anyone point me in the right direction on what I've done wrong??
Thanks!
Re: Image Handler 5 (for v1.5.5) Support Thread
In investigating and trying to debug this LRG duplicate images....when I look at Developer Tools in Firefox to see what is being called, I see this....
<!-- Modal -->
<div id="imageModal1" class="imgmodal">
<div id="modalContent1 . '" class="imgmodal-content">
<span onclick="closeModal('imageModal1')">
<img src="bmz_cache/f/fqb_hereandnow_01jpg.image.439x550.jpg" title="FQB - Here And Now Collection" alt="(image for) FQB - Here And Now Collection" width="439" height="550" class="centered-image"> <div class="imgmodal-close"><i class="fa-solid fa-circle-xmark"></i></div>
<div class="center">FQB - Here And Now Collection</div>
<!-- <div class="imgLink center">--><!--</div>-->
</span>
</div>
</div>
<div class="back">
<a id="modalLink1" href="javascript:void(0);" onclick="openModal('imageModal1')">
<img src="bmz_cache/f/fqb_hereandnow_01jpg.image.600x750.jpg" title="FQB - Here And Now Collection" alt="(image for) FQB - Here And Now Collection" width="600" height="750" href="javascript:void(0);" onclick="openModal('imageModal1')"> <br>
<!-- <div class="imgLink center">--><!--</div>-->
</a>
</div>
This is calling the fqb_hereandnow_01.jpg twice....and as I have 4 additional images, it is also calling each of these twice.
Does anyone understand why??
Re: Image Handler 5 (for v1.5.5) Support Thread
Just an idea, but when uninstalling, IH does not delete cache images in bmz_cache folder. Deleting everything in there except '.htaccess' will force IH to recalculate all the different size images.
It might eliminate these duplicates... or not.
Re: Image Handler 5 (for v1.5.5) Support Thread
Thanks for your suggestion pilou2....I will give this a try and post back with how it works out!
Re: Image Handler 5 (for v1.5.5) Support Thread
I have now completely uninstalled IH and everything (except the .htaccess) from the bmz_cache folder. I received the green confirmation in Admin when uninstalling IH that all uninstalled successfully and also verified by going through each folder in my site and comparing them to the IH files to insure they were all removed.
When I go to my site....I still have the exact same issue....duplicate additional images at a large size displaying only 1 image per row, when I have set to display 5. This shows it is not this plugin but something in the stock Zen Cart v.2.1 site. I will post in the General forum to try to get help with it there.
Re: Image Handler 5 (for v1.5.5) Support Thread
I have now installed IH (and deleted everything from the bmz_cache folder except for the .htaccess file), logged into my Admin panel, received the green Installed Successfully and set the IH Resize Images to Yes. It unfortunately has had no effect on my Additional Images.
I can go to Admin->Tools->IH and successfully use it to add additional images....so the plug in is working on that front....but something in the stock Zen Cart seems to not be relinquishing control over allow IH to resize.
Also, the stock Zen Cart seems to automatically have the LRG image open when going to a product page. When clicking on the main image, is then closes the LRG image window.
Would you be able to decipher this lat9 as to why IH is not being allowed to take over the image sizing control??
Thank you for your help.
Re: Image Handler 5 (for v1.5.5) Support Thread
I am about to upload quite a few new products. If I follow the image naming conventions as mentioned in the Wiki for the base images, I believe I can ignore the _LRG and _MED ones correct? I believe that IH should take care of this part. Or am I misunderstanding how this works.
We are naming the image files based on the item number. So base image is 25005.jpg and each additional is 25005_XX.jpg. I think this is all I need to do but before I upload hundreds of new items, I want to make sure it works like I think it does.
Re: Image Handler 5 (for v1.5.5) Support Thread
Yes g2ktcf....that is correct with your naming and what you need to upload. You just simply upload your image "25005.jpg" to the images folder and Image Handler takes care of the rest of the images.
Re: Image Handler 5 (for v1.5.5 - v1.5.8) Support Thread
One thing to add......
Once you have the Image Handler plugin installed, double check that you have gone into Admin->Configuration->Images and set the "IH to resize images" to true.
Re: Image Handler 5 (for v1.5.5 - v1.5.8) Support Thread
Quote:
Originally Posted by
NWCE
One thing to add......
Once you have the Image Handler plugin installed, double check that you have gone into Admin->Configuration->Images and set the "IH to resize images" to true.
We already use IH but I have not uploaded new products and images at one time. So it is already activated. Thanks!