Skip to content
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

Zoom Plugin Improvement when using responsive images #1689

Open
andrekeller opened this issue Dec 29, 2024 · 0 comments
Open

Zoom Plugin Improvement when using responsive images #1689

andrekeller opened this issue Dec 29, 2024 · 0 comments

Comments

@andrekeller
Copy link

Summary

If I use lightgallery with a data-srcset, the lg-zoom plugin will only zoom into the image the browser has already loaded, which usually is not much bigger than the viewport. Would be nice if it would be possible to either choose the biggest srcset image when zooming or alternatively a separate data-* attribute to specify the image displayed when invoking the zoom.

Currently the zoom plugin does not really add any benefit when using responsive images.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant