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

[FEATURE REQUEST] Easily customize 404 responses/errors #10

Open
stefanofusai opened this issue Jun 21, 2024 · 2 comments
Open

[FEATURE REQUEST] Easily customize 404 responses/errors #10

stefanofusai opened this issue Jun 21, 2024 · 2 comments

Comments

@stefanofusai
Copy link

It would be nice to customize responses on pages that don't match any of the "valid" routes.
Right now, visiting the root returns this response:
image

While visiting a non existing path redirects to this repo. It would be nice to customize this kind of edge cases, as well as maybe the error messages such as Something went wrong! or Source image is unreachable

@stefanofusai stefanofusai changed the title [FEATURE REQUEST] Easily customize 404 responses [FEATURE REQUEST] Easily customize 404 responses/errors Jun 21, 2024
@wottpal
Copy link

wottpal commented Oct 9, 2024

Thumbs up on this, additionally I'm thinking of adding the option for a fallback image (which is always served when the requested one is not available). Would you be open for a PR, @andrasbacsai?

@lucasdu4rte
Copy link

Thumbs up on this, additionally I'm thinking of adding the option for a fallback image (which is always served when the requested one is not available). Would you be open for a PR, @andrasbacsai?

@wottpal would be perfect, because in some random moments NextImageTransformation is not being able to download the images (running inside coolify/docker), and I need to show a “standard” image until it is solved

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

No branches or pull requests

3 participants