Jump to content

Change jQZoom to innerzoom


Recommended Posts

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

  • 3 weeks later...
  • 8 months later...
  • 1 month later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...