Thursday, June 12, 2014

Jquery Zoom displaying left of image

I have come across an issue where the jquery.zoom file displayed the zoomed image on the left side of the main image of a product on Magento and wanted it on the right, because it looked cut off.

To fix this, change jquery.jqzoom-core-pack.js

In the file after if (l.zoomType != 'innerzoom') { and case "left":, add this.node.leftpos = (p.ow + Math.abs(l.xOffset)); and comment out previous declaration

No comments:

Post a Comment