We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I need to change the images per each breakpoint. For example, for max-width: 767px: image-mobile.jpg max-width: 1024px: image-desktop.jpg
I'm trying this way, but doesn't work for me:
<div class="image-wrapper"> <img class="lozad" data-src="https://picsum.photos/1600/900?image=3" data-srcset="https://picsum.photos/767/800?image=3 767w, https://picsum.photos/1024/900?image=3 1024w"> </div>
Should I, add another config to work?
The text was updated successfully, but these errors were encountered:
I had the same issue understanding or making work the data-srcset.
See my issue #134 then code working fine.
Sorry, something went wrong.
No branches or pull requests
I need to change the images per each breakpoint.
For example, for
max-width: 767px: image-mobile.jpg
max-width: 1024px: image-desktop.jpg
I'm trying this way, but doesn't work for me:
Should I, add another config to work?
The text was updated successfully, but these errors were encountered: