Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add eleventy-plugin-sharp plugin #749

Merged
merged 1 commit into from
Sep 1, 2020
Merged

Add eleventy-plugin-sharp plugin #749

merged 1 commit into from
Sep 1, 2020

Conversation

luwes
Copy link
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
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants