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

errorOnFail option if you don’t want to fail the entire build if one image has an error. #225

Open
zachleat opened this issue Apr 22, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@zachleat
Copy link
Member

Default to true.

@zachleat zachleat added the enhancement New feature or request label Apr 22, 2024
@zachleat
Copy link
Member Author

Via the image transform maybe an eleventy:optional attribute that will remove remote images that fail.

The impetus use case here is build-time opencollective avatar images on 11ty.dev

@eaton
Copy link

eaton commented Aug 9, 2024

This has been important for a project with many old image references pointing out to external sites. eleventy-img handles 404s pretty gracefully, but on occasion encounters references to domains that won't even resolve — bringing the whole build down. Being able to sidestep that issue and proceed with the build with be a huge benefit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants