Next/Image static export image link/_next/image? Url=% 2F6168935. png cannot be accessed
source code: StackBlitz
Deployment configuration:
access url : ibed
Next/Image static export image link/_next/image? Url=% 2F6168935. png cannot be accessed
source code: StackBlitz
Deployment configuration:
access url : ibed
@he-1024 Can you provide more information?
Your current title & explanation don’t provide enough information for anyone to be able to help.
Hello, I apologize for overlooking the detailed information. I have now added it
I take it the issue is that this URL is a 404
:
https://main–ibed.netlify.app/_next/image?url=6168935.png&w=96&q=75
It appears to be Next.js related handling, since that’s the Next.js 404 page.
The cloudsandbox link is not public:
Have you confirmed that the file /6168935.png
exists?
He works well when deployed on Vercel, but becomes 404 on Netlify. Does Netlify not support next/Image? . I switched from the codesandbox to stacklitz. new link StackBlitz
I couldn’t say, I don’t work for Netlify and don’t work with Next.js myself.
Have you consulted the documentation?:
This might be a bug due to your static export config. I’ve filed it for the devs. But, for not you can add a _redirects
file in your public
folder with the contents:
/_next/image url=:url w=:width q=:quality /.netlify/images?url=:url&w=:width&q=:quality 200!
This should be solved in v5.7.0 of Next.js Runtime.