Hello Im new to strapi, and Im having a problem where some images are not showing in my nextjs project. The image types are the same (png) , i tried replacing the image with the ones that are showing up and it works fine. What seems to be the problem here?
This topic has been created from a Discord post (1289235963809107987) to give it more visibility.
It will be on Read-Only mode here.
Join the conversation on Discord
It sounds like the issue you’re facing with Strapi and Next.js could be related to how the images are being referenced or how they are stored in Strapi’s media library.
Inspect the network request in your browser’s developer tools to ensure that the image URLs are correct. Make sure they are pointing to the proper source. If the project is hosted, check for issues like CORS (Cross-Origin Resource Sharing) restrictions or missing domains in the strapi.config.js file.
Try using a regular tag instead of the Next.js component for debugging purposes. If this resolves the issue, you may need to adjust the configuration of the Next.js image optimizer