<img>
tags are not moved to <picture>
by default. That behaviour can be enabled through option, hoistImgClass
pictureClass
to provide class names for the newly created <picture>
elements.<picture>
through data-img2picture-picture-class
attribute on <img>
tag.Full Changelog: https://github.com/saneef/eleventy-plugin-img2picture/compare/v2.0.3...v3.0.0
Full Changelog: https://github.com/saneef/eleventy-plugin-img2picture/compare/v2.0.2...v2.0.3
Full Changelog: https://github.com/saneef/eleventy-plugin-img2picture/compare/v2.0.1...v2.0.2
Bumps Eleventy Image to v2.0.0
data-img2picture-widths
attribute on <img>
eleventyInputDir
to .
sizes
attribute from <img
> is not replicated on <source>
(Issue #7)options.formats
default values. Removes avif
. Ref (#3)fetchRemote: true
in options.