BadgerDog Posted December 8, 2011 Share Posted December 8, 2011 Under the option "Enable JqZoom instead of Thickbox on product page", is there a way to make the displayed zoomed box size that you can move around within, bigger than the default? ... and is there a way to control where that zoomed box appears on the screen? Thanks ... Regards, Doug Link to comment Share on other sites More sharing options...
BadgerDog Posted December 10, 2011 Author Share Posted December 10, 2011 Anyone? Thanks .. Regards, Doug Link to comment Share on other sites More sharing options...
cedricfontaine Posted December 14, 2011 Share Posted December 14, 2011 You can change the settings in /js/product.js. $('img.jqzoom').jqueryzoom({ xzoom: 200, //zooming div default width(default width value is 200) yzoom: 200, //zooming div default width(default height value is 200) offset: 21 //zooming div default offset(default offset value is 10) //position: "right" //zooming div position(default position value is "right") }); You can find the parameter here http://www.mind-projects.it/projects/jqzoom/ 9 Link to comment Share on other sites More sharing options...
BadgerDog Posted December 14, 2011 Author Share Posted December 14, 2011 That's terrific ... Thank you very much for the feedback .... Regards, Doug Link to comment Share on other sites More sharing options...
BadgerDog Posted December 17, 2011 Author Share Posted December 17, 2011 Follow up ... I can't seem to find any file called /js/product.js in my installation? Regards, Doug Link to comment Share on other sites More sharing options...
deltacrab Posted December 18, 2011 Share Posted December 18, 2011 this is in your themes folder and then the particular theme you have installed. e.g /themes/prestashop/js 1 Link to comment Share on other sites More sharing options...
BadgerDog Posted December 18, 2011 Author Share Posted December 18, 2011 this is in your themes folder and then the particular theme you have installed. e.g /themes/prestashop/js Thank you ... I found it this time ... Regards, Doug Link to comment Share on other sites More sharing options...
Andrés Díaz Posted March 30, 2012 Share Posted March 30, 2012 You can change the settings in /js/product.js. $('img.jqzoom').jqueryzoom({ xzoom: 200, //zooming div default width(default width value is 200) yzoom: 200, //zooming div default width(default height value is 200) offset: 21 //zooming div default offset(default offset value is 10) //position: "right" //zooming div position(default position value is "right") }); You can find the parameter here http://www.mind-proj...rojects/jqzoom/ Thank you, very helpful! Link to comment Share on other sites More sharing options...
reSabian Posted May 14, 2012 Share Posted May 14, 2012 You can change the settings in /js/product.js. $('img.jqzoom').jqueryzoom({ xzoom: 200, //zooming div default width(default width value is 200) yzoom: 200, //zooming div default width(default height value is 200) offset: 21 //zooming div default offset(default offset value is 10) //position: "right" //zooming div position(default position value is "right") }); You can find the parameter here http://www.mind-proj...rojects/jqzoom/ Thanks a lot, really helpful! Link to comment Share on other sites More sharing options...
PaulaHO Posted June 7, 2012 Share Posted June 7, 2012 Hi, I've tried the steps but the size of the zoomed image doesn't change. I've change the values in JS as well as in CSS. Link to comment Share on other sites More sharing options...
cedricfontaine Posted June 11, 2012 Share Posted June 11, 2012 Do you have any cache either in Prestashop or in your browser ? Did you try to remove the cache ? Link to comment Share on other sites More sharing options...
linkin11 Posted July 20, 2012 Share Posted July 20, 2012 Do you have any cache either in Prestashop or in your browser ? Did you try to remove the cache ? i think not, otherwise he had answered. Great topic, i have chanced the settings also. thx Link to comment Share on other sites More sharing options...
felipeN Posted August 29, 2012 Share Posted August 29, 2012 (edited) Hi, i'd like to know the options allowed to this pluggin. Because i'm trying to apply the option of innerzoom that i find in the documentation of github but i can't do it. I used: $('img.jqzoom').jqueryzoom({ zoomType: 'innerzoom', }); But allways its the same small window. Even if i delete all the options nothing change. There is any place more where i should change the parameters? Anyone? Ok, i get it. Just upgrade the js. Edited September 5, 2012 by matilda (see edit history) Link to comment Share on other sites More sharing options...
LA2937 Posted November 18, 2012 Share Posted November 18, 2012 Hi. Can you tell me how you did that? I'm trying to use innerzoom but without success. Wich version did you use? Thanks Link to comment Share on other sites More sharing options...
KamranMK Posted November 28, 2012 Share Posted November 28, 2012 I have the same issue, the innerzoom just won't work, is there anything that we don't know? Link to comment Share on other sites More sharing options...
-FrA- Posted December 16, 2012 Share Posted December 16, 2012 Hi, I've tried the steps but the size of the zoomed image doesn't change. I've change the values in JS as well as in CSS. Do you have any cache either in Prestashop or in your browser ? Did you try to remove the cache ? Same problem. Same steps and cleaned cache. Can't understand... Link to comment Share on other sites More sharing options...
rekram Posted February 14, 2013 Share Posted February 14, 2013 I have some problem with this setting, because when I changed size of image to 400x400px the zoom is not centered as you see below. How to fix it? 1 Link to comment Share on other sites More sharing options...
Kogkalidis Posted February 18, 2013 Share Posted February 18, 2013 Thank you, very helpful! Thanks a lot, really helpful! Guys, it's far better to push the "like" button on the response of the guy. Because if anyone posts "Thanx" then the thread will be huge and not helpful, cause some guy that has the same problem wants to browse on a few responses and solve it asap.. Moreover this way you raise the reputation of that user.. Take care, Kinezos Emporos 2 Link to comment Share on other sites More sharing options...
maptist Posted March 17, 2013 Share Posted March 17, 2013 I have some problem with this setting, because when I changed size of image to 400x400px the zoom is not centered as you see below. How to fix it? I have the same issue with 1.5.3.1 and default theme. I would be very thankful for any help Link to comment Share on other sites More sharing options...
maptist Posted March 18, 2013 Share Posted March 18, 2013 (edited) SOLVED: Line 64-67 prestashop/js/jquery/plugins/jqzoom/jquery.jqzoom.css scrolly = mouse.y - imageTop - ($("div.zoomdiv").height()*1/scaley)/4 ; $("div.zoomdiv").get(0).scrollTop = scrolly * scaley ; scrollx = mouse.x - imageLeft - ($("div.zoomdiv").width()*1/scalex)/4 ; $("div.zoomdiv").get(0).scrollLeft = (scrollx) * scalex ; at the end change the scaley and scalex ratio from 2 to 4. Edited March 18, 2013 by maptist (see edit history) 2 Link to comment Share on other sites More sharing options...
rekram Posted March 18, 2013 Share Posted March 18, 2013 Thanks! Problem solved! Link to comment Share on other sites More sharing options...
Kogkalidis Posted April 17, 2013 Share Posted April 17, 2013 SOLVED: Line 64-67 prestashop/js/jquery/plugins/jqzoom/jquery.jqzoom.css scrolly = mouse.y - imageTop - ($("div.zoomdiv").height()*1/scaley)/4 ; $("div.zoomdiv").get(0).scrollTop = scrolly * scaley ; scrollx = mouse.x - imageLeft - ($("div.zoomdiv").width()*1/scalex)/4 ; $("div.zoomdiv").get(0).scrollLeft = (scrollx) * scalex ; at the end change the scaley and scalex ratio from 2 to 4. Works also for me.. Version 1.5.2 Link to comment Share on other sites More sharing options...
thomtree Posted April 28, 2013 Share Posted April 28, 2013 hey... don't work in 1.5.4.0 :-( Link to comment Share on other sites More sharing options...
ali3412 Posted May 20, 2013 Share Posted May 20, 2013 (edited) Prestashop 1.5.4 themes/***/js/product.js $('img.jqzoom').jqueryzoom({ xzoom: 200, //zooming div default width(default width value is 200) yzoom: 200, //zooming div default width(default height value is 200) js/jquery/plugins/jqzoom/jquery.jqzoom.css width : 200px; height : 200px; js/jquery/plugins/jqzoom/jquery.jqzoom.js xzoom: 200, //zoomed width default width yzoom: 200, //zoomed div default width Edited May 20, 2013 by ali3412 (see edit history) 1 Link to comment Share on other sites More sharing options...
cessargor Posted July 4, 2013 Share Posted July 4, 2013 First, go to your prestashop/css/jqzoom.css ( or /public_html/js/jquery/plugins/jqzoom in 1.5) file. change the width and height values from the code below: div.zoomdiv { z-index : 100; position : absolute; top:0px; left:0px; width : 200px;<- change this height : 600px;<- change this background: #ffffff; border:1px solid #CCCCCC; display:none; text-align: center; overflow: hidden; After that, go to themes/yourtheme/js/product.js //set jqZoom parameters if needed if (typeof(jqZoomEnabled) != 'undefined' && jqZoomEnabled) { $('img.jqzoom').jqueryzoom({ xzoom: 200,<- change this yzoom: 200,<- change this offset: 10 //zooming div default offset(default offset value is 10) //position: "right" //zooming div position(default position value is "right") }); } Dont forget to backup your original files before make changes. If you couldnt see the different after you make changes, try different browser. Link to comment Share on other sites More sharing options...
PrestaToys Posted July 31, 2013 Share Posted July 31, 2013 After all of these attempts... my best advice is to turn off jqzoom! Link to comment Share on other sites More sharing options...
jeyjoo Posted October 25, 2013 Share Posted October 25, 2013 Anyone still having issues with this, I figured out a solution. First set your thickbox image size to something large such as 1200px. You do this via PS back office - preferences/images. This will make both the jzoom and the product image look huge You may now need to regenerate image thumbs in preferences/images to avoid stretched looking images. Now via css alter the size of the image display on your product page. Something #bigpic {height:400px;width:400px;} may be enough. Thats it. Not sure if jzoom to be used that way and poorly explained. Hope this helps Link to comment Share on other sites More sharing options...
zimiro Posted October 30, 2013 Share Posted October 30, 2013 I am in error when I change the image he picks up the zoom only primary http://prntscr.com/20sbhk Link to comment Share on other sites More sharing options...
acobo Posted November 20, 2013 Share Posted November 20, 2013 I tried everything, but since I upgraded to Prestashop 1.5.6, the size of the zoom is the same than the size of the article. Any idea? Thank you! Link to comment Share on other sites More sharing options...
jahidulewu Posted December 27, 2013 Share Posted December 27, 2013 I in bug. My first image is show small but 2 image show larger as i want. My url is http://bengalmart.com Please help me to get out this bug. Jowel Link to comment Share on other sites More sharing options...
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