on next/image
, hostname is not configured under images in your next.config.js
#20953
-
Why hostname error keep showing on the page even though I've implemented next.config.js on my projects with domains on it. The Config file
// Page
|
Beta Was this translation helpful? Give feedback.
Replies: 8 comments 25 replies
-
Try setting up your domains like this: module.exports = {
images: {
domains: ['tmdb.org', 'themoviedb.org'],
},
}; Only the actual domain should need setup without the protocol and any subdomains. |
Beta Was this translation helpful? Give feedback.
-
I am having the same issue..
but still giving me this error:
|
Beta Was this translation helpful? Give feedback.
-
Works for me: #18412 (comment) |
Beta Was this translation helpful? Give feedback.
-
I've got a question here. How do we tackle this issue ? |
Beta Was this translation helpful? Give feedback.
-
For those who still don't work, try to add on
And then run the app again. 📦 |
Beta Was this translation helpful? Give feedback.
This comment was marked as disruptive content.
This comment was marked as disruptive content.
-
Is there any way to use wildcard domains, without setting |
Beta Was this translation helpful? Give feedback.
-
Hello guys I really need some help here. I am creating a podcast application using the taddy api. I have created a search page that allows users to search for any podcast but it seems like the images have different hostnames and there are already thousands of podcasts with different hostnames. I don't know how to fix this and I can't add all those hostnames. |
Beta Was this translation helpful? Give feedback.
Try setting up your domains like this:
Only the actual domain should need setup without the protocol and any subdomains.