Skip to content

Add eleventy-plugin-sharp plugin#749

Merged
zachleat merged 1 commit into11ty:masterfrom
luwes:eleventy-plugin-sharp
Sep 1, 2020
Merged

Add eleventy-plugin-sharp plugin#749
zachleat merged 1 commit into11ty:masterfrom
luwes:eleventy-plugin-sharp

Conversation

@luwes
Copy link
Copy Markdown
Contributor

@luwes luwes commented Aug 31, 2020

URL https://github.com/luwes/eleventy-plugin-sharp

In porting my website from Craft CMS to Eleventy I missed the more granular control of generating images. Something like https://craftcms.com/docs/3.x/image-transforms.html

https://github.com/11ty/eleventy-img is cool but it comes with some tradeoffs like having to create a shortcode for every variant of image, the output HTML is hidden from the template, the abstraction around it (probably intentionally) hides most of Sharp's features resulting in PR's like #23, #10

This could be a good alternative for devs who don't mind more configuration in their templates.

@zachleat zachleat merged commit 51abb60 into 11ty:master Sep 1, 2020
@zachleat
Copy link
Copy Markdown
Member

zachleat commented Sep 1, 2020

Looks great thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants