grafiker Posted March 20, 2013 Share Posted March 20, 2013 (edited) Hi, Is there any way I can change the parameter of the prestashop jQZoom to be innerzoom? Just like this: http://www.mind-proj...demos.php#demo4 I tried adding on product.js "zoomType: 'innerzoom' " over the plugin line with no luck. Edited March 20, 2013 by grafiker (see edit history) Link to comment Share on other sites More sharing options...
dagobert Posted March 22, 2013 Share Posted March 22, 2013 Can you send the code related to the issue? Is that with a jQZoom module you downloaded? Link to comment Share on other sites More sharing options...
grafiker Posted March 22, 2013 Author Share Posted March 22, 2013 I'm using the jQZoom that comes with Prestashop. I just activated it on the admin > "Enable jQZoom instead of Thickbox" option. Link to comment Share on other sites More sharing options...
razaro Posted March 22, 2013 Share Posted March 22, 2013 jQZoom that Prestashop use by default is bit old, it is version 1.2. And latest version of this plugin is 2.3. That version have inerzoom. So you will need to replace files in \js\jquery\plugins\jqzoom . This js folder is in root not in theme. New files should also be named jquery.jqzoom.css and jquery.jqzoom. Then you can try options from website you posted. For that you will need to edit product.js in your theme js folder . Edit this part //set jqZoom parameters if needed if (typeof(jqZoomEnabled) != 'undefined' && jqZoomEnabled) { $('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") }); } Link to comment Share on other sites More sharing options...
grafiker Posted March 22, 2013 Author Share Posted March 22, 2013 Thanks razaro, I'll try it later and told you if it worked Link to comment Share on other sites More sharing options...
xezus Posted April 11, 2013 Share Posted April 11, 2013 Hi, can I do it without changing the root js? For example in theme folder? Link to comment Share on other sites More sharing options...
itdes Posted December 17, 2013 Share Posted December 17, 2013 Hello, Have anyone got it to work? In the product.js file, I also changed this line: $('img.jqzoom').jqueryzoom({ to this line: $('img.jqzoom').jqzoom({ But still it doesn't work... I'm wondering what could be the problem? Link to comment Share on other sites More sharing options...
Guest Posted January 28, 2014 Share Posted January 28, 2014 Hey guys, I'm looking to do the same, did you guys have any luck figuring this one out? Thanks! 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