NextJS Static Site doesn't show images
NextJS SSG is not compatible with next/image. Set "unoptimized" to true within the images parameter of your nextjs project to fix this issue.

Written by Oscar de la Hera Gomez
First published on 10/09/2024 at 14:06
Last Updated on 10/09/2024 at 14:19

NextJS SSG is not compatible with next/image. Set "unoptimized" to true within the images parameter of your nextjs project to fix this issue.
SubscribeUnfortunately, Next14 or lower does not allow Next/Image to work with Static Site Generation.
To fix this, update the next config to make the images unoptimized.

Looking to learn more about NextJS, ReactJS or web development?
Search our blog to find educational content on NextJS, ReactJS and web development.
Any Questions?
We are actively looking for feedback on how to improve this resource. Please send us a note to inquiries@delasign.com with any thoughts or feedback you may have.
SubscribeContact UsVisit our BlogView our ServicesView our Work