igorlino / elevatezoom-plus

Enhanced elevateZoom - A jQuery image zoom plugin
http://igorlino.github.io/elevatezoom-plus/
MIT License
162 stars 77 forks source link

Zoomed image size incorrect #131

Open taba00 opened 2 years ago

taba00 commented 2 years ago

Hi everybody, I'm having problems: I use an image gallery, but I don't use the example shown for the image change. When the image change event is triggered, I call the ezplus function from the "hover" event on my image gallery. Most of the time, when I change image, it keeps the size of the previous image, even doing a kind of destroy, eliminating the ZoomContainer. What could be the problem?

Thank you all!

I destroy it like this: $.fn.ezPlusDestroy = function () { $('.ZoomContainer').remove(); }