I am considering using IH2...but have this question.
At this point not all of my products have images...and in many cases it may well remain that way for some time. Recently I was able to work out a way so that on the product details page for those products I did not have to utilize the "no image available" box and also could get rid of the "larger image" link. (You can see the discussion of this issue at this link: http://www.zen-cart.com/forum/showthread.php?t=133044
Essentially what was involved was to modify main_product_image.php to create flags depending on whether or not there was an image for the product. Then if not, tpl_modules_main_product_image.php would delete the "larger image" link from the product details page.
So...first, is there anything built into IH2 which allows one to automatically delete the "larger image" link in the product detail page if there is no image.
Alternatively do you think that the following would work when using IH2:
adding the following to your version of main_product_image.php
Code:
$imageflag=1;
if ($products_image_base==''){$imageflag=0;}
The '' above represents two single quotes not a double quote....representing the situation when there is no image name.
Then in tpl_modules_main_product_image.php adding code (which already exists in my version) which essentially says that if $imageflag is not equal to 0 then include "larger image" link...but if equal to 0 then don't include it.
I know that I could install IH2 and try this out, but I just thought I would check with you first before I go and modify all the files that I need to change and install IH2 to see if you have a thought about this. You may immediately know that this won't work...if you don't know one way or the other, I can try it and report back and see if it does.
Thanks, Ken
Bookmarks