vue-lazyload
vue-lazyload copied to clipboard
Picture Tag
In Situation where picture tag is used, let's say in chrome, webp is loaded by default and other browsers png in loaded, if I use 'v-lazy' webp is loaded as well as png both are loaded, but by default only webp should load(Which is the normal behaviour in chrome) and not png.
<picture>
<source srcset="/images/poster-1.webp" type="image/webp" class="img-responsive lazy-img-fadein">
<img src="/images/poster-1.png" alt="Pay Rental" class="img-responsive lazy-img-fadein">
</picture>
I believe this would be a feature request.
Support that request.
We really need this. WebP is becoming a standard in 2019.
+1 for picture tag support. any news about this?
also looking for this functionality
Not supporting picture is a dealbreaker in a modern web stack, but it might just be the time to go with native loading="lazy" instead.