epi

eleventy-plugin-img2picture

npm i eleventy-plugin-img2picture

20 Versions

3.0.0

latest
8 months ago
  • Class attribute from <img> tags are not moved to <picture> by default. That behaviour can be enabled through option, hoistImgClass
  • New option pictureClass to provide class names for the newly created <picture> elements.
  • Also, you can provide class name to <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


2.0.3

8 months ago
  • fix: special character attributes in body mess up markup (for real) #16

Full Changelog: https://github.com/saneef/eleventy-plugin-img2picture/compare/v2.0.2...v2.0.3


2.0.2

8 months ago
What's Changed

Full Changelog: https://github.com/saneef/eleventy-plugin-img2picture/compare/v2.0.1...v2.0.2


2.0.1

9 months ago
  • Bump Eleventy Image to v2.0.1

2.0.0

1 year ago

Bumps Eleventy Image to v2.0.0


1.3.0

1 year ago
  • Override default widths using data-img2picture-widths attribute on <img>

1.2.0

1 year ago
  • Use medium size image as fallback (fae9a1eb4cd2e68b8437350f3043afe1324fdb1b)

1.1.0

1 year ago

1.0.2

1 year ago
  • Sets default value for eleventyInputDir to .

1.0.1

1 year ago
  • Fixes: sizes attribute from <img> is not replicated on <source> (Issue #7)

1.0.0

1 year ago
  • Fixes: Generated AVIF images are not displayed in Chrome Canary (#3)
  • Breaking Change: Requires Node 12+ (11ty/eleventy-img/#100)

0.2.0

1 year ago
  • Updates options.formats default values. Removes avif. Ref (#3)

0.1.0

2 years ago
  • Enable fetch and caching for images using fetchRemote: true in options.

0.0.8

2 years ago

0.0.7

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago

20 Versions

TagPublished
3.0.0latest8mos ago
2.0.38mos ago
2.0.28mos ago
2.0.19mos ago
2.0.01yr ago
1.3.01yr ago
1.2.01yr ago
1.1.01yr ago
1.0.21yr ago
1.0.11yr ago
1.0.01yr ago
0.2.01yr ago
0.1.02yrs ago
0.0.82yrs ago
0.0.72yrs ago
0.0.52yrs ago
0.0.42yrs ago
0.0.32yrs ago
0.0.22yrs ago
0.0.12yrs ago