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!
I am trying to implement jquery lazy load on my product listing pages but in order to do so I need to get the img src for all images. In product_listing.php I found the code that generates images and added to it:
zen_image(DIR_WS_IMAGES . $listing->fields['products_image'], $listing->fields['products_name'], IMAGE_PRODUCT_LISTING_WIDTH, IMAGE_PRODUCT_LISTING_HEIGHT, 'data-original="' . DIR_WS_IMAGES . $listing->fields['products_image'] . '"')
But it gives me a regular src(images/image.jpg). How can I get the IH src?
@Dan123
That really is not a question about Imagehandler
But you probably want to be working inside the function zen_image which is in html_output.php.
Nick
iszent.com
@dan123
Glad to know you got it working.
Please start a new thread (with a tille like 'using lazy loader with zen' ) and explain exactly what you did so that other people can benefit from your experience.
Nick
iszent.com
update: I asked my hosting provider to recovery all web from automatically backup and now my eshop is in the state before I stardet to "try tu upgrade IH". The problem is in the purchased template cos IH work with default template. I asked zencart-template to fix the IH problem .. it seems they will make IH to work .. I will let you know. Thank you all to tell me to backup ... it leads me to aske hosting provider for recovery procces :)
My Online Store thanks to Zen Cart
If everything else fails.... read the f@#$%ing manual :)
And always remember before any change!!! Backup to be able to go back!
Hi All,
I have just installed IH3, and after a few tweeks all seems to be working to great effect!
One question which I have spent the last 4 hours trying to find, is that on each product info page, I have the product image shown in the html description under a <img> tag. Is it possible to have IH3 resize and provide the zoom feature for these images, or does it only work with images linked through the usual zen cart images?
Many thanks in advance!
Short answer is images you added to the product description using an image tag will not be managed by IH3.. Though this is not related to IH3 support, I think with a little work you could probably manually add the inline JS zoom code from IH3 to the image tags..
I'm cooking now and don't have time to look.. If someone else helpful doesn't come along before I get back I'll share a down and dirty how to.. (I will assume you are familiar with how to tweak the inline JS to your own needs)
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 everyone. I understand that my question was asked before (posts #339 to #342 in this thread) but no specific solution was offered at that time.
I have IH3 installed on my live site (Zen Cart 1.3.9h) and it works fine and as expected. I am now upgrading to Zen Cart 1.5.0 on a local test environment and see that IH3 does not appear in the Administration area at all and of course can not be used.
The late ClydeJones suggested some changes for IH3 to work with ZC 1.5.0 and he was about to test it. I think that was about the time he (sadly and unexpectedly) passed away and it was probably left at that. If there any chance that we are given some simple instructions as to how we can implement ClydeJones' idea in post #341 if it has been tested?
Many thanks in advance for any assistance and kind regards.
George
Athens Collectibles
Bookmarks