Nextjs images stopped working - problem with Netlify?

Hi

We encountered a peculiar problem with our Nextjs website out of nowhere, all ‘local’ images stopped working. See one of our recent deploys here - https://6751d6a7699d1906c7b508b5–rubberring.netlify.app where the logo image in the centre of the top nav bar is not rendered.

We noticed this on Thursday, but now going back and checking old deploys the images aren’t visible in any of them. They were definitely there before, so I suspect that this is a change on Netlify’s side. I have also built and ran the website locally without an issue.

We are using an old version of Nextjs (11) and Node (16), the legacy Nextjs Image component is used - has there been a change that would impact websites on those versions?

I have implemented a temp fix for the moment by adding the unoptimized attribute to the impacted Image components, but I’d like to fix the root issue so we can have the optimized images again.

You’re using Next.js 11 with Runtime v3. We don’t provide support with Runtime v4, let alone v3. Let us know if you’re still seeing the problem after upgrading to Next.js 13.5+ and Runtime v5.

1 Like

The issue is this by the way: Hostname issue using Nextjs and Nextauth V5

This should now be resolved, could you let us know if you’re still seeing issues? Thanks!

1 Like