Soporte de The Movie Database

Hello, I am using the API and I requested the images of each movie, but it returns vertical images and I am looking for a solution so that instead of them being vertical, it gives me other horizontal images (this way it covers the entire screen of the page).

Attached img:
https://cdn.discordapp.com/attachments/791413136111697935/1189457549859237938/image.png?ex=659e3baa&is=658bc6aa&hm=3857b8732be8d58881d057f4c3cef9dd90e22da6f9b84e336072db192a351a28&

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

Jump to last post

@rondfrt said:
Movie Images
Hello,
I am using the API and I requested the images of each movie, but it returns vertical images and I am looking for a solution so that instead of them being vertical, it gives me other horizontal images
(this way it covers the entire screen of the page).

Attached img:
https://cdn.discordapp.com/attachments/791413136111697935/1189457549859237938/image.png?ex=659e3baa&is=658bc6aa&hm=3857b8732be8d58881d057f4c3cef9dd90e22da6f9b84e336072db192a351a28&

Poster is vertical. 1x1.5
Backdrop is horizontal. 16x9
In your code, change poster_path to backdrop_path.

¿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 debate

n crear nuevo debate
w cambiar el estado de visualización
p cambiar público/privado
c cambiar cerrar/abrir
a abrir actividad
r responder al debate
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