ssimard Posted January 18, 2018 Share Posted January 18, 2018 Hi everyone, I have just put my website online and I was asked why I was not using JqZoom instead of fancybox. I forgot why at first but now I remember why, can anyone help me fix that ? When I load a page at first, it looks like it was not initialized properly. It's working only after I rollover on a thumbnail. Here's a screenshot of what I get if I don't rollover a thumbnail first (the camera image is following the cursor): Link to comment Share on other sites More sharing options...
0 yaniv14 Posted January 18, 2018 Share Posted January 18, 2018 Its look like your are missing an image. But the zoom should work only when hovering the image Link to comment Share on other sites More sharing options...
0 ssimard Posted January 18, 2018 Author Share Posted January 18, 2018 After loading a page, if I hover on the image, I get that camera image following my cursor and no zoom is happening. As soon as I hover or click a thumbnail then go back to hovering the main image, the zoom works. Link to comment Share on other sites More sharing options...
0 yaniv14 Posted January 18, 2018 Share Posted January 18, 2018 Can you turn it back on so I can check? Because I've checked it on my TB dev installation and its working fine Link to comment Share on other sites More sharing options...
0 ssimard Posted January 18, 2018 Author Share Posted January 18, 2018 I did, turned it on for you. Let me know once you've seen it so I can turn it back off please. Make sure you do not rollover a thumbnail on page load. Link to comment Share on other sites More sharing options...
0 yaniv14 Posted January 18, 2018 Share Posted January 18, 2018 Try modifying you zoom init function to match the name of your large image. look inside themes/yourtheme/js/product.js for initZoom( $('#bigpic').attr('src').replace('large', 'thickbox') ); to initZoom( $('#bigpic').attr('src').replace('produit_large', 'thickbox') ); Link to comment Share on other sites More sharing options...
0 ssimard Posted January 18, 2018 Author Share Posted January 18, 2018 Awesome, I did just that and it fixed it, many thanks !! Link to comment Share on other sites More sharing options...
0 yaniv14 Posted January 18, 2018 Share Posted January 18, 2018 Glad I could help. Good luck with your new site. It looks great. Link to comment Share on other sites More sharing options...
0 ssimard Posted January 18, 2018 Author Share Posted January 18, 2018 Thank you :-) Link to comment Share on other sites More sharing options...
0 Beeta Posted January 19, 2018 Share Posted January 19, 2018 This a bug of the modded theme only, right? Link to comment Share on other sites More sharing options...
0 ssimard Posted January 19, 2018 Author Share Posted January 19, 2018 @foolab Yes it is, I changed the images names. Link to comment Share on other sites More sharing options...
Question
ssimard
Hi everyone, I have just put my website online and I was asked why I was not using JqZoom instead of fancybox.
I forgot why at first but now I remember why, can anyone help me fix that ?
When I load a page at first, it looks like it was not initialized properly. It's working only after I rollover on a thumbnail.
Here's a screenshot of what I get if I don't rollover a thumbnail first (the camera image is following the cursor):
Link to comment
Share on other sites
10 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now