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>