You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I started having issues with ez-plus in my app with the initial zoom of a picture being jacked up as compared to the zoom that happens after clicking on a gallery photo. Able to reproduce using the code found in the examples...which doesn't match the code displayed. (Please update your example code, many typos!)
I've narrowed it down to the zoomLevel setting. If I comment it out, everything seems to be fine, except for the fact that the zoom isn't at the level I want.
<html><head><scripttype="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"></script><scripttype="text/javascript" src="https://cdn.rawgit.com/igorlino/elevatezoom-plus/1.1.17/src/jquery.ez-plus.js"></script></head><body><imgclass="zoom-img" id="zoom_03" src="images/small/image1.jpg" data-zoom-image="images/large/image1.jpg" style="position: absolute; width: 414px; height: 274px;"><divid="gallery_01"><ahref="#" data-image="images/small/image1.jpg" data-zoom-image="images/large/image1.jpg" class="active"><imgsrc="images/thumb/image1.jpg"/></a><ahref="#" data-image="images/small/image2.jpg" data-zoom-image="images/large/image2.jpg"><imgsrc="images/thumb/image2.jpg"/></a><ahref="#" data-image="images/small/image3.jpg" data-zoom-image="images/large/image3.jpg"><imgsrc="images/thumb/image3.jpg"/></a><ahref="#" data-image="images/small/image4.jpg" data-zoom-image="images/large/image4.jpg"><imgsrc="images/thumb/image4.jpg"/></a></div><scripttype="text/javascript">$(document).ready(function(){$("#zoom_03").ezPlus({gallery: 'gallery_01',cursor: 'crosshair',galleryActiveClass: "active",imageCrossfade: true,zoomType: 'window',zoomWindowWidth: 300,zoomWindowHeight: 300,zoomLevel: 3,scrollZoom: true,responsive: true});$("#zoom_03").bind("click",function(e){varez=$('#zoom_03').data('ezPlus');ez.closeAll();//NEW: This function force hides the lens, tint and window//$.fancyboxPlus(ez.getGalleryList());returnfalse;});});</script></body></html>
The text was updated successfully, but these errors were encountered:
I started having issues with ez-plus in my app with the initial zoom of a picture being jacked up as compared to the zoom that happens after clicking on a gallery photo. Able to reproduce using the code found in the examples...which doesn't match the code displayed. (Please update your example code, many typos!)
I've narrowed it down to the
zoomLevel
setting. If I comment it out, everything seems to be fine, except for the fact that the zoom isn't at the level I want.The text was updated successfully, but these errors were encountered: