The Movie Database Support

I am trying to fetch posters of different movies for my project using "poster_path". The image is not being displayed even though the URL is correct. I found the URL which I was expecting while inspecting image element in Developer mode in browser

For example scr="https://image.tmdb.org/t/p/original//4EYPN5mVIhKLfxGruy7Dy41dTVn.jpg" is a URL which I got by inspecting element, which works just fine in browser but not displaying the image. Guidance required!

Thanks in advance and forgive the grammatical errors :)

1 reply (on page 1 of 1)

• Jump to last post

@prakr97 said:
Not able to display movie posters using poster_path.
I am trying to fetch posters of different movies for my project using "poster_path". The image is not being displayed even though the URL is correct.
I found the URL which I was expecting while inspecting image element in Developer mode in browser
For example scr="https://image.tmdb.org/t/p/original//4EYPN5mVIhKLfxGruy7Dy41dTVn.jpg" is a URL which I got by inspecting element, which works just fine in browser but not displaying the image. Guidance required!
Thanks in advance and forgive the grammatical errors :)

I'm not sure I understand your problem correctly.
Can you post here the URL that you claim is correct but is not displaying the image?
Is this the URL you are referring to?

https://image.tmdb.org/t/p/original//4EYPN5mVIhKLfxGruy7Dy41dTVn.jpg

If this is it, the only difference I see is the double //.
The normal would be just one /.
I don't know if this is causing the problem.

https://image.tmdb.org/t/p/original/[poster_path]  
https://image.tmdb.org/t/p/original/wigZBAmNrIhxp2FNGOROUAeHvdh.jpg 

Here, read the documentation around images.

Can't find a movie or TV show? Login to create it.

Want to rate or add this item to a list?

Login