Soporte de The Movie Database

Hi Travis!

I've noticed recently (in the past week or so) that the poster_path in some of the requests of the movie search endpoint has the full path e.g. https://image.tmdb.org/t/p/w150//pes2HCVX60MNZZdUrKtgVNlv1ig.jpg

Because of this I am ending up with the following URI https://image.tmdb.org/t/p/w150/https://image.tmdb.org/t/p/w150//pes2HCVX60MNZZdUrKtgVNlv1ig.jpg

Any idea why? I'm not the only person having this issue.

1 respuesta (en la página 1 de 1)

Jump to last post

Hi @tidusjar,

The app that runs the search service has no idea of the full image URL (it's not even added to that codebase) so that's not what's happening... how are you building your URLs? All of my tests show the standard file path being returned:

https://api.themoviedb.org/3/search/movie?api_key=###&query=lord+of+the+rings
"poster_path":"\/zn5dEU1ygVeCEtFgttvujW3dCUj.jpg"
"backdrop_path":"\/pIUvQ9Ed35wlWhY2oU6OmwEsmzG.jpg"

Etc, etc...

Because of this I am ending up with the following URI https://image.tmdb.org/t/p/w150/https://image.tmdb.org/t/p/w150//pes2HCVX60MNZZdUrKtgVNlv1ig.jpg

That image URL is definitely wrong and will of course error. I'd take a look at how you're building the URL, it looks like its doubling up somehow.

¿No encuentras una película o serie? Inicia sesión para crearla:

Global

s centrar la barra de búsqueda
p abrir menú de perfil
esc cierra una ventana abierta
? abrir la ventana de atajos del teclado

En las páginas multimedia

b retrocede (o a padre cuando sea aplicable)
e ir a la página de edición

En las páginas de temporada de televisión

(flecha derecha) ir a la temporada siguiente
(flecha izquierda) ir a la temporada anterior

En las páginas de episodio de televisión

(flecha derecha) ir al episodio siguiente
(flecha izquierda) ir al episodio anterior

En todas las páginas de imágenes

a abrir la ventana de añadir imagen

En todas las páginas de edición

t abrir la sección de traducción
ctrl+ s enviar formulario

En las páginas de discusión

n crear nueva discusión
w cambiar el estado de visualización
p cambiar público/privado
c cambiar cerrar/abrir
a abrir actividad
r responder a la discusión
l ir a la última respuesta
ctrl+ enter enviar tu mensaje
(flecha derecha) página siguiente
(flecha izquierda) página anterior

Configuraciones

¿Quieres puntuar o añadir este elemento a una lista?

Iniciar sesión