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.
Hi all,
Is there any way to find out the url of the second image in IH?
For example in categories we have our main image shown as
"zen_image(DIR_WS_IMAGES . $listing->fields['products_image'], $listing->fields['products_name'], IMAGE_PRODUCT_LISTING_WIDTH, IMAGE_PRODUCT_LISTING_HEIGHT, 'class="listingProductImage"')"
I need the url of the second small image, thank you!
Are you sure you have IH3 installed? I have not seen it behave like yours does where you hover over the image...slightly move to the right edge and the second image appears WITHOUT a pop up.
since you also have a no js coding and the store coding looks different...are you sure the template is not geared differently
what I did was hover to make it change to 2nd image then right-click the image and choose view image...the url is in the location bar and does not go to bmz_cache folder like it should be
so therefore either your no-js script has nulled the use of IH3 or not all files are uploaded to their proper places or the template won't allow it to be use (which is the case of paid for --readjusted templates).
DarkAngel, thank you for your help! I am sorry I was not clear on the subject, that store is just an example what I want to do, it is not run by Zen Cart. So my question - is there any direct link to the additional image of the product, something like - "zen_image(DIR_WS_IMAGES . $listing->fields['products_image'], $listing->fields['products_name'], IMAGE_PRODUCT_LISTING_WIDTH, IMAGE_PRODUCT_LISTING_HEIGHT)", but for the second image, I need to show both images in my categories pages.
Thank you!
LOL ok, then a link to your store products would be better.
I am not still clear on what exactly you want...if it is to show both lmages as that sample store then not sure how to do that. the zen carts store software will always show the main image on your product page with the additional image near the bottom of the page.
To have the IH3 popup window you set it in the admin section but you can also install lightbox module to have the image open to the larger size in a nice "blacked out" window that also will allow the viewing of the second or however many more images you have for the products.
DarkAngel, thanks again. My store - http://www.klybni4ka.net. What I want to do is to show the first additional image when a customer hovers over the main image in a catalog just like in that store. There is an easy way to do it with JQuery but in order to do so I need both images, the main and the first additional. Since I am not a Php developer I have no idea how get the url of the additional first image. As far as I understand how IH works, additional images are generated on the fly, so I need to insert the code that looks for the additional images in my product_listing module. Could somebody give me a hint what exactly I need to do. Or if by any chance there is a direct link to the first additional image, that would be awesome!
Thank you!!!
did you fix this because I just went there and it works...the first row load immediately but the others do load after a few seconds.
I use the latest (not too happy with) Firefox...lol What browser are you using?
Checked in IE8, Google Chrome and Safari and they all seem to be having a popup image.
Bookmarks