The Movie Database Support

Hi am trying to get movies images using the link https://image.tmdb.org/t/p/original/ by passing the path of the movie
this is the base_url=" https://image.tmdb.org/t/p/original/"
and this is the image tag am using

but when i run the app it gives me zzWGRw277MNoCs3zhyG3YmYQsXv.jpg:1 GET https://image.tmdb.org/t/p/original/%20/zzWGRw277MNoCs3zhyG3YmYQsXv.jpg 404

9 replies (on page 1 of 1)

Jump to last post

@H_A said:
images error 404
Hi am trying to get movies images using the link https://image.tmdb.org/t/p/original/ by passing the path of the movie
this is the base_url=" https://image.tmdb.org/t/p/original/"
and this is the image tag am using

but when i run the app it gives me zzWGRw277MNoCs3zhyG3YmYQsXv.jpg:1
GET https://image.tmdb.org/t/p/original/%20/zzWGRw277MNoCs3zhyG3YmYQsXv.jpg 404

Compare your URL (1) to the one that works correctly (2):

(1) https://image.tmdb.org/t/p/original/%20/zzWGRw277MNoCs3zhyG3YmYQsXv.jpg  
(2) https://image.tmdb.org/t/p/original/zzWGRw277MNoCs3zhyG3YmYQsXv.jpg  

In your URL there is this string that is generating the error: %20/
It refers to an additional " Space + Slash ".

ok thanks it worked

Hi am trying to get movies images using the link https://image.tmdb.org/t/p/original/ by passing the path of the movie
this is the base_url=" https://image.tmdb.org/t/p/original/"
and this is the image tag am using

but when i run the app it gives me zzWGRw277MNoCs3zhyG3YmYQsXv.jpg:1 GET https://image.tmdb.org/t/p/original/%20/zzWGRw277MNoCs3zhyG3YmYQsXv.jpg 404

@vidhatenikhil954 said:

but when i run the app it gives me zzWGRw277MNoCs3zhyG3YmYQsXv.jpg:1 GET https://image.tmdb.org/t/p/original/%20/zzWGRw277MNoCs3zhyG3YmYQsXv.jpg 404

Just like the above example, you have an extra encoded space in your URL. Compare these two URLs:

https://image.tmdb.org/t/p/original/%20/zzWGRw277MNoCs3zhyG3YmYQsXv.jpg
https://image.tmdb.org/t/p/original/zzWGRw277MNoCs3zhyG3YmYQsXv.jpg

The second one is correct, the first one is not.

Thank You Travis!

Hi am trying to get movies images using the link https://image.tmdb.org/t/p/original/ by passing the path of the movie this is the base_url=" https://image.tmdb.org/t/p/original/" and this is the image tag am using. When i looked in the inspected that i get original undefined. error 404. but that time i do get the images , But after i hosted the page, im not able to view any images. can i get some help!

@JayakrishnansKumar What's a full and complete URL that is 404'ing?

@Belete said:
https://image.tmdb.org/t/p/original/

I don't know if that's what you're asking for, but ...

When an API Request is made, in the responses received you will find the Path of the images:
poster_path or backdrop_path or profile_path or logo_path or still_path.
Something like that:

backdrop_path   "/hZkgoQYus5vegHoetLkCJzb17zJ.jpg"   
poster_path "/r3pPehX4ik8NLYPpbDRAh0YRtMb.jpg"    

To access/download the image use the basic images URL.

https://image.tmdb.org/t/p/  

The request should be similar to these:

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

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

Make sure to read the documentation around images.
https://developer.themoviedb.org/docs/image-basics
https://developer.themoviedb.org/reference/configuration-details
Image Sizes

https://api.themoviedb.org/3/configuration?api_key=THE_KEY

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

Global

s focus the search bar
p open profile menu
esc close an open window
? open keyboard shortcut window

On media pages

b go back (or to parent when applicable)
e go to edit page

On TV season pages

(right arrow) go to next season
(left arrow) go to previous season

On TV episode pages

(right arrow) go to next episode
(left arrow) go to previous episode

On all image pages

a open add image window

On all edit pages

t open translation selector
ctrl+ s submit form

On discussion pages

n create new discussion
w toggle watching status
p toggle public/private
c toggle close/open
a open activity
r reply to discussion
l go to last reply
ctrl+ enter submit your message
(right arrow) next page
(left arrow) previous page

Settings

Want to rate or add this item to a list?

Login