gregives / Twelvety

An Eleventy starter project built to be fast
https://twelvety.netlify.app
MIT License
292 stars 13 forks source link

Use Eleventy Image to generate images #12

Open gregives opened 3 years ago

gregives commented 3 years ago

Eleventy Image has all the functionality we need to generate images in the picture shortcode, including an example of synchronous usage.

bronze commented 2 years ago

hi @gregives have you touched on using eleventy-image plugin instead of the shortcode? been tinkering with it after reading Lazily Loading Images with the 11ty Image Plugin and i think i got a working example: https://github.com/bronze/twelvety

ive only put up a single image yet, coexisting with your shortcode https://twelvety-img.netlify.app/

cheers

ps: shout out to @AleksandrHovhannisyan