Skip to content

Not able to load images #490

Closed Answered by dalechyn
ishaan812 asked this question in Q&A
Sep 17, 2024 · 2 comments · 3 replies
Discussion options

You must be logged in to vote

there are multuple specifics of nextjs itself so min. repro would be greatly appreciated.

i have to take a guess based on what you've said that your new file is located at /api/frog/:frameId/route.tsx. If so, it should be changed to /api/frog/[[...routes]/route.tsx, because image rendering is a subroute and not gonna work otherwise. the catch-all route group is very important here.

if I got you wrong, please create a minimal repro, not just a code. something that I can clone and run.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@dalechyn
Comment options

Answer selected by ishaan812
@ishaan812
Comment options

@dalechyn
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants