I have the following code.
<picture>
<source type="image/webp"
srcset="https://www.mydomain.com/images/snake.webp">
<img class="img-fluid rounded-circle mb-3"
src="https://www.mydomain.com/images/snake.jpg" alt="Image of snake">
</picture>
Even on Chrome with .webp support the .jpg image always seems to come up. Anyone know why / what I’m doing wrong?