Image tag src with ip adress not render image #70506
Unanswered
b310L
asked this question in
App Router
Replies: 2 comments
-
Check if the server is allowing CORS from webapp origin. If the server hosting the images is not configured to allow requests from other origins, the image won't load. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Are there any logs? in the browser network, you can see the failed image request, and it typically contains some information. Also that IP is a LAN IP right? Maybe you can't even reach the image to begin with? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When i pass src (such as http://192.168.11.8/images/cam1.png) with ip adress image not render and behave such local src in Image tag.
I add remotePatterns in next config but still not render image.
Beta Was this translation helpful? Give feedback.
All reactions