Open doggy8088 opened 1 year ago
Is it possible add
<img>
to<picture>
feature to your extension?Turn:
<img src="image.jpg" alt="A description of the image." width="300" height="200" loading="lazy" decoding="async">
into
<picture> <source srcset="image.avif" type="image/avif"> <source srcset="image.webp" type="image/webp"> <img src="image.jpg" alt="A description of the image." width="300" height="200" loading="lazy" decoding="async"> </picture>
See also: The picture element
Thank you for your suggestion, I will add this feature later.
Is it possible add
<img>
to<picture>
feature to your extension?Turn:
into
See also: The picture element