-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ezPlus with multiple images #120
Comments
same problem on multiple images. Work only last image. |
after comment this |
Excelent info my friend |
Thanks very good friend that your information |
volkerdobler
pushed a commit
to volkerdobler/elevatezoom-plus
that referenced
this issue
Jul 6, 2020
thanks @volkerdobler for the fix :) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have problems using ezPlus with multiple images on my page.
I have nailed down the problem to line 320 in (current) version 1.2.4
"$('.' + self.options.container).remove();
If this line exist, all (previous added) classes are removed and only the last image-container stays.
Why is this line in the script?
If I run the script with this line, and I have 2+ pictures I would like to zoom (e.g.
$('#pic1').ezPlus(); $('#pic2').ezPlus();
), the container for the first pic (#pic1) is removed with the second image and therefore I am not able to zoom the image #pic1.To run both images I have to add at least the "ZoomContainer" option with different values - which is not what I expected (e.g.
$('#pic1').ezPlus({ZoomContainer:a}); $('#pic2').ezPlus({ZoomContainer:b}
); will work). But this is complicated and I would like to run multiple images with the standard settings (if possible :-) )Can I (safety) remove this line? What is the purpose of this line?
The text was updated successfully, but these errors were encountered: