Use the data-magnifyto attribute as outlined on the demo page. Set it to the actual width of the image.
Or you can try out this version of the script I just found in my archives (right click and 'Save As'):
jquery.magnifier2native.js
Example usage:
HTML Code:
<img class="magnify" src="http://www.nasa.gov/images/content/168177main_image_feature_749_ys_4.jpg" width="100" alt="">
Note: In the HTML markup there, only the width is specified. You can also specify the height, but if you do, it must be proportional.
The browser cache may need to be cleared and/or the page refreshed to see changes.
If you want more help, please include a link to the page on your site that contains the problematic code so we can check it out.
Bookmarks