Open majuro16 opened 4 years ago
convert images to webp (eg. with this link) https://image.online-convert.com/convert-to-webp
and update html
How to: You use webp like any image:
<img src="img.webp" />
However since it's not always supported (see http://caniuse.com/#feat=webp), you can use this to set a fallback:
<picture><source srcset="img.webp" type="image/webp"><source srcset="img.jpg" type="image/jpeg"><img src="img.jpg"></picture>
convert images to webp (eg. with this link) https://image.online-convert.com/convert-to-webp
and update html
How to: You use webp like any image:
<img src="img.webp" />
However since it's not always supported (see http://caniuse.com/#feat=webp), you can use this to set a fallback:
<picture><source srcset="img.webp" type="image/webp"><source srcset="img.jpg" type="image/jpeg"><img src="img.jpg"></picture>