How do you combine all the bits of zipped files from the beginning of this thread?
Where can you find the last set of working jqzoom plugin? I would appreciate a feed back on this also. Thank you.
How do you combine all the bits of zipped files from the beginning of this thread?
Where can you find the last set of working jqzoom plugin? I would appreciate a feed back on this also. Thank you.
Using Zen Cart 1.5.1
Thanks Phil.
Using Zen Cart 1.5.1
no probs. I am going to have a play with modifyin that standard files and get this to work with which ever images are avaiable
i.e for zoom images
large if large file exisits
medium if medium file exists
or just small
and for main-product image display/swapping to use
medium if medium exists
or just small.
also I will use the script methos of writing the links so that when java is disabled only one image/link is displays for each image.
If I get this all working on my 1.5.1 files i'll zip up a version and post it here
Phil Rogers
A problem shared is a problem solved.
As promised, here is the file set. Should work with a clean install of ZC 1.5.1.
It should handle all variations of image sizes in the directories you have, for example
if you only have small images in your main image directory, you simply just need the actual image size larger than the value set for your product listing image for the zoom to appear to work.
If you have small and medium images, you simply need to ensure that your actual medium image size is larger than that set in for your product info page.
If you have small, medium and large images, you product info page will as per zen carts logic will show your medium image size and will then zoom to the size of your large image size.
I added an additional file to this file set:
/includes/modules/YOUR_TEMPLATE/main_product_image.php
The reason for this is explained here:
http://www.zen-cart.com/showthread.p...duct_image-php
however this file should be optional. I just found that the logic wasn't working correctly when only small and medium images were present when the large link is built.
Nick,
I would be greatful if you could help finishing what I think is the only thing left to do on this, which is to make the additional image link a proper <script> document.wrtite ...
I think its going to be an escaping nightmare but as we spoke about before, good practice to ensure Java disabled browsers do not see the images twice.
Ta.
Phil![]()
Phil Rogers
A problem shared is a problem solved.
Phil anyway you could zip your latest set of files. I used the zip file from the above post on Zen 1.5.1, and I can't even get the cross hair to appear on the main image. When I click on the main image, it goes to a new browser tab showing that image. What am I doing wrong?
I compared my page source, and I don't have "jscript_jquery-1.6.js" loaded. Is that whats causing it?
Using Zen Cart 1.5.1