Supporto The Movie Database

I build an application that uses some images which are chosen manually because they have some information that are useful for my application.

The problem is, I cannot use your api to do that because when I made a request I have all images of a movie but it is not what I want and it can begin too complex to retrieve the image that I want in the response....

Is there a solution for this problem ?

Something like this: https://image.tmdb.org/t/p/original/**MyAPIKEY**/nxRD5Tc639keDQVOdogWLTdQrx9.jpg

2 risposte (nella pagina 1 di 1)

Jump to last post

Something like this: https://image.tmdb.org/t/p/original/**MyAPIKEY**/nxRD5Tc639keDQVOdogWLTdQrx9.jpg

This is not an API request.

If you want all the images of a movie or a person then you can use Movies > Get Images or for people People > Get Images. Remember these take the movie/person id as a parameter. Also read through the Images section under getting started

When you make a request for images using the API you get a file_path and not the actual URL to the image. The URL to the image file is made up of three parts. base_url, file_size, file_path. Combining these parts you will get the complete URL to the image file.

For example when you make a request to get the info about the movie using api.themoviedb.org/3/movie/263115?api_key=##APIKEY## in the response JSON object you get the poster_path key which only contains the file_path like so : /45Y1G5FEgttPAwjTYic6czC9xCn.jpg

And now combining the base_path, file_size, file_path you get : https://image.tmdb.org/t/p/w500/45Y1G5FEgttPAwjTYic6czC9xCn.jpg

You can retrieve all the Images and the select manually which one you want to have if that's what you want.

Ok so it is not possible for me to use the API, I will just use the image link from scratch.

Non riesci a trovare un film o una serie Tv? Accedi per crearlo.

Globale

s focalizza la barra di ricerca
p apri menu profilo
esc chiudi una finestra aperta
? apri finestra scorciatoia tastiera

Su tutte le pagine di media

b torna indietro (o al precedente quando applicabile)
e vai alla pagina di modifica

Nelle pagine delle stagioni TV

(freccia destra) vai alla stagione successiva
(freccia sinistra) vai alla stagione precedente

Nelle pagine degli episodi TV

(freccia destra) vai all'episodio successivo
(freccia sinistra) vai all'episodio precedente

Su tutte le pagine di immagini

a apri finestra aggiungi immagine

Su tutte le pagine di modifica

t apri selettore traduzione
ctrl+ s invia modulo

Sulle pagine di discussione

n crea nuova discussione
w segna come visto/non visto
p cambia publico/privato
c cambia chiuso/aperto
a apri attivita
r rispondi alla discussione
l vai all'ultima risposta
ctrl+ enter invia il tuo messaggio
(freccia destra) pagina successiva
(freccia sinistra) pagina precedente

Impostazioni

Vuoi valutare o aggiungere quest'elemento a una lista?

Accedi