My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.
Ok...clearly I'm insane. I DO have it. I was confusing the includes/modules/YOUR_CUSTOM_TEMPLATE/main_product_image.php file in IH2 with the includes/templates/YOUR_CUSTOM_TEMPLATE/templates/tpl_modules_main_product_image.php file in ZLB.
I'm going to try re-uploading includes/modules/custom/main_product_image.php from IH2 and see what happens while Diva continues her testing.
Sorry for the confusion folks!
Alright folks I'm tapped out.. My results are only partially satisfactory.. The LARGE additional images are NOT being pulled from the bmz_cache folder, and I haven't a CLUE as to why.. I need to eat, take a shower and come at this tomorrow.. I could use a set of eyeballs to help me figure out why.. Not sure if the issue is my test store, and I'm far too pooped to set this thing back to a vanilla state to start over..
My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.
Very strange! It worked instantly for me as soon as I loaded that one file. Btw, I am testing all of this on a totally clean install of ZC that is still using the classic template. I uploaded a few additional products on top of the default ones and loaded rediculosly large images for IH2 to scale down.
[thinking out loud]
Are you sure that your main image is in fact larger than what you have IH2 set to scale down a large image too? I would guess that if your image is 400px and IH2 is set to only scale down to 500px then it would just do nothing and possibly just load the original from /images.
[/thinking out loud]
Daniel
Just checked the settings. The main product images are large images 600px wide. Mediums are set to scale down to 199 and small down to 80. There's no setting to scale down to large, as the largest image is what's used by ZLB's "zoom". There's a max large file size, and I have that set to 599px wide.
In the admin for IH2, the image sizes are set using Config/Images.
Update: Issue Resolved
A few hours ago, I was poking the admin/config/images settings. It occurred to me that since IH2 only uses one large image that it then sizes down for various purposes, that perhaps the suffixes _MED and _LRG were unnecessary.
So I removed them to see if it made any difference to the issue. It did not. But I moved on to other things without putting them back.
Then, a few minutes ago, niestudio was doing me the courtesy of poking around in my files to find out why his solution worked for him and not for me.
While in the admin/config/images, he noticed the blank suffix fields and repopulated them. The issue is now resolved (for me). I don't know if this will also work for others, or what the trigger was for this issue is to begin with...but until we find out, perhaps a good work around is this:
After installing IH2 and configuring and saving your image settings, go back in to the settings and remove the _MED and _LRG suffixes and save. Then go back in and put them back in and save. Obviously this is a minor PITA to have to do, but it might solve the problem until a solution is found.
Thanks again niestudio! And thanks to Diva for her ongoing effort :)
Bookmarks