How to fix Next.js Image component doesn't show Cloudinary image
June 22, 2024
My problems is the Image component doesn't show the image that fetch from cloudinary API.
I found the solution. If you are going to use an absolute url, you should use the domain in images of next.config.js
.
module.exports = {
images: {
domains: ["res.cloudinary.com"],
},
}
Ref: