You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 18, 2022. It is now read-only.
Hello,
I want to use this polifill together with https://github.com/aFarkas/lazysizes which I use to lazy load images and https://github.com/scottjehl/picturefill for the srcset polyfill.
My yes case is the following: I have a carousel with a srcset on the img tag. By default every image in the carousel has an inline placeholder image (base64 gif) The first image in the carousel loads correctly and this library does the job fine. For all the other images in the carousel I get the placeholder images instead.
The text was updated successfully, but these errors were encountered:
@lucadegasperi: It looks like Lazysizes recently added support for object-fit. Check it out here. I realize this is an old thread but I thought I'd pass it along in case it's useful.
@lucadegasperi were you able to implement this? I have not been able to resolve...I can get the polyfill to work but not for lazyload images, only the first image. I have tried to use the support plugins in lazysizes but either I am not using correctly or it doesn't resolve this issue.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hello,
I want to use this polifill together with https://github.com/aFarkas/lazysizes which I use to lazy load images and https://github.com/scottjehl/picturefill for the srcset polyfill.
My yes case is the following: I have a carousel with a srcset on the img tag. By default every image in the carousel has an inline placeholder image (base64 gif) The first image in the carousel loads correctly and this library does the job fine. For all the other images in the carousel I get the placeholder images instead.
The text was updated successfully, but these errors were encountered: