Re:PNG files can be animated via network latency
by kalleboo on Wednesday June 23, 2021 @11:28PM
(#27613616)
The HTML IMG tag also has a "lowsrc" attribute, that is sadly deprecated now.
There's also a proposal for a loading="lazyload" attribute value to allow images to load when scrolled into view https://css-tricks.com/a-native-lazy-load-for-the-web-platfo... https://caniuse.com/loading-lazy-attr
Re:PNG files can be animated via network latency
by colejohnson66 on Sunday June 27, 2021 @10:42AM
(#27651943)
A bit late of a reply, but <picture> allows specifying multiple sizes of images. Which one will be downloaded depends on the criteria the developer set (generally based on the page or rendered image dimensions).
I have Javascript disabled by default, and I notice a lot of websites (especially newspapers) initially have a blurry <img/>, and later replace it with the sharp image using JS. So there is clearly still a need for this feature, even if web developers don't know about it.