Next Image stopped working

It works!

Thank you @hillary

Sorry for the late reply. I think you’re yet to do some setup require by Nextjs in the server

great all works! thanks @hillary

1 Like

Glad to hear everything is working now! Thank you all for reporting this!

2 Likes

Hello Hillary, Hope you are doing well. I am facing the same problem. But it’s random. Sometimes it is showing and sometimes it is not.

Source image server responsed with 404 Not Found. This is the error I get.

Hi there,

Did you see this guide yet? This is the best place to start for ā€œPage Not Foundā€ issues.

If you are still seeing issues after following the troubleshooting steps in there, please check out this Support Guide as well. It outlines all of our build and deploy resources and will get you on the right track :slight_smile:

If none of the above resources help, please write back with your site name and what steps you have tried and we can look into this further!

Hey team. We recently moved from Vercel to Netlify and after deployment all images stopped working. We are using latest NextJS runtime and redeployment didn’t fix the issue.

@frank0, mind sharing a link we can check?

I noticed that whan port exists un imagee url it doesn’t work: https://xpr-site.netlify.app/_next/image/?url=https%3A%2F%2Fassets-us-01.kc-usercontent.com%3A443%2F47e077a1-1be2-00d5-62bb-b93072cde841%2F4b04c649-35bd-43e5-a2eb-f99c95c63bab%2Fpartner_kontentai_wrapper_2.png&w=384&q=75

But if I’ll manually remov the port url param image works fine: https://xpr-site.netlify.app/_next/image/?url=https%3A%2F%2Fassets-us-01.kc-usercontent.com%2F47e077a1-1be2-00d5-62bb-b93072cde841%2F4b04c649-35bd-43e5-a2eb-f99c95c63bab%2Fpartner_kontentai_wrapper_2.png&w=384&q=75

why this is happening now and was working preeviously? This image url comees from CMS, I can write custom url parser to remove port from it, but this will be a workaround.

Have you tried speicying the port in your next.config.js: Components: | Next.js (nextjs.org)?

Hi There, I’m getting the same issue, hadn’t had a build triggered since early August, images were working fine, checked this morning and pretty much every image on the site does not show and has a 500 error. Locally it works fine of course.

Refer to: Images using next/image suddenly stopped working. TL;DR, we need to know your site name.

1 Like