Erik Golinelli

Results 78 comments of Erik Golinelli

@asyba I guess you are missing the `display: block` to img tag. ๐Ÿ‘‡ ![css](https://github.com/verlok/vanilla-lazyload/assets/8550908/81ef3bc1-e7dc-4b55-b919-8318aa8365f1)

Hi @alvarotrigo I'm writing to you because I happened upon your issue and because something similar happened to me in the past... yes, with a little trick you can do...

yes i can confirm that now I get it working with this ๐Ÿ‘‡filter ```php add_filter('webp_uploads_upload_image_mime_transforms', function() { return array( 'image/png' => array( 'image/webp' ) ); }); ``` thanks!

I'd like to provide an update to this thread since my exploration has progressed significantly since that initial gist! My aim was to: - Implement lazy loading for backgrounds, videos,...

Another metric that i can provide to show how this plugin act on a real website, is the Wordpress.org homepage waterfall. I use the local override to overrideride the html...

@rcwd thank you for testing! can you please file an issue here? ๐Ÿ‘‰ [the autolazyload repo](https://github.com/erikyo/auto-lazyload)

@rcwd please refer to my GH repository, don't post here because unrelated short answer: at the moment no, but if you kindly can file a new issue I will try...

I think it's definitely a good idea ๐Ÿ’ฏ if jpgs are not always the ideal source for webp encoding, because the result vary depending on the source quality, pngs would...

Sorry but this is wrong! avif image format fully support alpha channel (the transparency) https://avif.io/blog/faq/avif-transparency/ Addy Osmani has written a nice book on the argument, recommended https://www.smashingmagazine.com/2021/09/modern-image-formats-avif-webp/

> Like, as I understand, only lossless AVIF supports transparency Afaik (but I can be wrong) lossy avifs also support the [alpha channel](https://aomediacodec.github.io/av1-avif/#auxiliary-images) (the transparency). you can give a try...