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

Access source attributes in lazyriasmodifyoptions #937

Open
andershagbard opened this issue Jan 10, 2022 · 0 comments
Open

Access source attributes in lazyriasmodifyoptions #937

andershagbard opened this issue Jan 10, 2022 · 0 comments
Labels

Comments

@andershagbard
Copy link

andershagbard commented Jan 10, 2022

Describe your problem/question
Currently, I am calculating available sizes based on image width/height and aspect ratio. This is an issue when using a picture element with source within.

Make it reproduce-able
https://jsfiddle.net/5k6evx18/1/
Check console. It only logs 0.5 for the img element.

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

No branches or pull requests

1 participant