desandro / imagesloaded

:camera: JavaScript is all like "You images done yet or what?"

Home Page:https://imagesloaded.desandro.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Downloads jpeg image when using picture element in browser that supports modern formats

muster-mark opened this issue · comments

I am using vue-masonry which uses this package (I have 4.1.4 of this package installed). It seems this pacakage is causing jpeg images to be downloaded when I am using a picture element with webp and jxl sources. As a result, both the webp image and the jpeg image get downloaded, somewaht losing the benefit of using the modern formats.