-
@justmarkup I think github.com/11ty/eleventy-img will work better for you—I’m planning on either deprecating
eleventy-plugin-img
or making it consumeeleventy-img
. -
@justmarkup Notably I’m moving towards plugins and utilities that do not offer pre-packaged markup, as markup is often the thing that we need the most control over.
-
@justmarkup I threw a quick example on github.com/11ty/eleventy-img#example-output-an-optimized-image-with-widthheight-attributes but you’ll likely want that markup to live in your templates so really you could just return
props
and work with it in template land