Optimizing images is one of the first steps to website performance improvement. The best way to do that is to convert images to the modern WebP format with the Magento 2 WebP Images extension. WebP images are smaller in size from traditional .png and .jpg formats and that makes them load faster.
However, sometimes there might be images you want to exclude from the WebP conversion.
You have converted images to WebP format manually or just want some <img> tags to be ignored during WebP conversion? Please, add the data-webpconverted="1" attribute to the <img> tag as in the example.
<img src="image.jpg" /> —> <img src="image.jpg" data-webpconverted="1" />
Thus, once y