Suport de The Movie Database

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 resposta (a les p脿gines 1 de 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

No trobeu una pel路l铆cula o una s猫rie? Inicieu la sessi贸 per a crear-la.

Global

s centra la barra de cerca
p obre el men煤 del perfil
esc tanca una finestra oberta
? obre la finestra de dreceres de teclat

A les p脿gines de materials

b torna enrere (o la superior quan sigui aplicable)
e ves a la p脿gina d鈥檈dici贸

A les p脿gines de temporades

(fletxa dreta) ves a la temporada seg眉ent
(fletxa esquerra) ves a la temporada anterior

A les p脿gines d'episodis

(fletxa dreta) ves a l'episodi seg眉ent
(fletxa esquerra) ves a l'episodi anterior

A totes les p脿gines d'imatges

a obre la finestra d'afegir imatges

A totes les p脿gines d'edici贸

t obre el selector de traducci贸
ctrl+ s envia el formulari

A les p脿gines de debat

n crea un debat nou
w canvia l'estat de visualitzaci贸
p canvia p煤blic/privat
c tanca o obre
a obre activitat
r resposta al debat
l ves a la darrera resposta
ctrl+ enter envieu el vostre missatge
(fletxa dreta) p脿gina seg眉ent
(fletxa esquerra) p脿gina anterior

Configuracions

Desitgeu valorar o afegir aquest element a una llista?

Inicieu la sessi贸