-
-
Notifications
You must be signed in to change notification settings - Fork 54
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
Comments
Via the image transform maybe an The impetus use case here is build-time opencollective avatar images on 11ty.dev |
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. |
Is it possible to do this yet? I am moving some sites to 11ty, and would be great if they were able to build without having to fix the 404 images first. Could it fail with a notice instead? I am using the imageTransformPlugin:
But it fails hard on 404 images:
|
Milestoning to 6.0.0 |
Important reference to #252 which unlocks the use of native fetch and AbortSignal for timeouts https://github.com/11ty/eleventy-fetch/releases/tag/v5.0.0 |
Default to
true
.The text was updated successfully, but these errors were encountered: