Closed bencroker closed 2 months ago
Updated to the PR to return any fallback value that starts with data:
.
It's necessary to returns the fallback data uri as buffer properly
I think I managed to to this correctly. Apologies if not, I’m trying to understand the application structure as I go.
LGTM, thanks!
Thanks for the great work!
This PR allows
fallback=transparent
that returns a transparent, base64 encoded 1x1 pixel GIF. This can be useful when you want to use your own background colour or image as a fallback.