Quantcast
Channel: Why Google Chrome loads JPG instead of Avif and WebP? - Stack Overflow
Viewing all articles
Browse latest Browse all 2

Why Google Chrome loads JPG instead of Avif and WebP?

$
0
0

I'm scratching my head why Google Chrome loads JPG instead of Avif and WebP?Here's my code:

<picture><source media="(max-width: 991px)" srcset="/assets/img/768w.avif" type="image/avif"><source media="(max-width: 991px)" srcset="/assets/img/768w.webp" type="image/webp"><source media="(max-width: 991px)" srcset="/assets/img/576w.avif" type="image/avif"><source media="(max-width: 991px)" srcset="/assets/img/576w.webp" type="image/webp"><img src="/assets/img/768w.jpg" alt="image" width="100%" height="auto" class="img-fluid" decoding="async" loading="lazy"></picture>

Viewing all articles
Browse latest Browse all 2

Latest Images

Trending Articles





Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>
<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596344.js" async> </script>