The problem seems to be that the script cannot pick up on the dimensions of the thumbnail image for some reason. It might have something to do with the fact that the thumbnail is inside an accordion on smaller devices, which collapses the dimensions of everything in it.
One way around this is to directly initialize the magnify script on the thumbnail image, which lets you pass into it explicit dimensions of the thumbnail. To do this, in your HTML, locate the thumbnail markup, and remove the class="magnify" attribute while adding an unique ID to it:
Code:
<img style="cursor: url("/magnifier/magnify.cur"), zoom-in; opacity: 1;" src="/Product_images/Honda/CBR600RR-07-11/side panels/Honda CBR600RR 07 11 Side Panels (2).jpg" class="magnify" data-magnifyby="5" alt="2007 - 2011 Honda CBR 600RR Side Panels" width="90" id="productshot">
Then, following this HTML, add the JavaScript below:
Code:
<script>
jQuery('#productshot').imageMagnify({
magnifyby: 5,
humbdimensions: [90, 68] //specify image's pre magnification dimensions
})
</script>
That should do it.
Bookmarks