Assistance de TMDB

Hi!!

I am using the API since a couple of months, and it is perfect! Thank you! But I have a doubt about the image sizes. I checked the documentation in Getting Started to check all config related to images. For some reason, I have been used w500 parameter in every image request. For example:

https://image.tmdb.org/t/p/w500/bvYjhsbxOBwpm8xLE5BhdA3a8CZ.jpg (poster)

https://image.tmdb.org/t/p/w500/bOGkgRGdhrBYJSLpXaxhXVstddV.jpg (backdrop)

https://image.tmdb.org/t/p/w500/ww1eIoywghjoMzRLRIcbJLuKnJH.jpg (Another backdrop)

Always.. https://image.tmdb.org/t/p/w500/{file_path}

This include backdrops, profile photo of actors, and posters. Since yesterday, I noticed that this size is available only in posters and logos according the /configuration data. But in my app it is working perfectly fine. Is it correct? Docs and /configuration is not updated?.. I am just curious because my request is fine and I can see the images in my app.

Thank you!

4 réponses (sur la page 1 sur 1)

Jump to last post

@mfagundez24 said:
w500 for images (backdrop, profile, and poster).. is it correct?
Hi!!
I am using the API since a couple of months, and it is perfect! Thank you! But I have a doubt about the image sizes. I checked the documentation in Getting Started to check all config related to images. For some reason, I have been used w500 parameter in every image request. For example:
https://image.tmdb.org/t/p/w500/bvYjhsbxOBwpm8xLE5BhdA3a8CZ.jpg (poster)
https://image.tmdb.org/t/p/w500/bOGkgRGdhrBYJSLpXaxhXVstddV.jpg (backdrop)
https://image.tmdb.org/t/p/w500/ww1eIoywghjoMzRLRIcbJLuKnJH.jpg (Another backdrop)
Always.. https://image.tmdb.org/t/p/w500/{file_path}
This include backdrops, profile photo of actors, and posters. Since yesterday, I noticed that this size is available only in posters and logos according the /configuration data. But in my app it is working perfectly fine. Is it correct? Docs and /configuration is not updated?.. I am just curious because my request is fine and I can see the images in my app.

See here: https://developers.themoviedb.org/3/configuration/get-api-configuration
These are official sizes:

images  
base_url    "http://image.tmdb.org/t/p/"
secure_base_url "https://image.tmdb.org/t/p/"
backdrop_sizes  
0   "w300"
1   "w780"
2   "w1280"
3   "original"
logo_sizes  
0   "w45"
1   "w92"
2   "w154"
3   "w185"
4   "w300"
5   "w500"
6   "original"
poster_sizes    
0   "w92"
1   "w154"
2   "w185"
3   "w342"
4   "w500"
5   "w780"
6   "original"
profile_sizes   
0   "w45"
1   "w185"
2   "h632"
3   "original"
still_sizes 
0   "w92"
1   "w185"
2   "w300"
3   "original"

Hi ticao!

Thank you for your reply. Yes, I know.. I checked it.. my doubt is related to w500 because I am using this link for every image in my app (profile, posters, and backdrops) https://image.tmdb.org/t/p/w500/... I am not sure if it is ok or Could I get any problem in the future?

Thank you!

@mfagundez24 said:
Hi ticao!
Thank you for your reply. Yes, I know.. I checked it.. my doubt is related to w500 because I am using this link for every image in my app (profile, posters, and backdrops) https://image.tmdb.org/t/p/w500/...
I am not sure if it is ok or Could I get any problem in the future?
Thank you!

There are several other image parameters that work.
Some are used by the TMDb WEB interface.
Others were used by the WEB interface in the past and are no longer used.
And others, were part of the list of supported sizes, but now they are no longer.

All those that still work, but are not on the supported sizes list, may eventually stop working.
At any time, an update of the TMDb systems or the WEB interface may stop working.
What Travis Bell recommends, he assures, are the sizes of this list I posted.
These will likely always be supported.
So if you are using it in some APP you are developing, it is better, safer, to use the supported sizes.
This is so there are no surprises in the future.

Hi ticao2!!

Yes, you are right! Thank you! I will start checking this and changing the links for the correct ones.

Thank you!

Un film, une émission télévisée ou un artiste est introuvable ? Connectez-vous afin de créer une nouvelle fiche.

Général

s Mettre le curseur dans la barre de recherche
p Ouvrir le menu du profil
esc Fermer une fenêtre ouverte
? Ouvrir la fenêtre des raccourcis clavier

Sur les pages des médias

b Retour (ou vers le parent si faisable)
e Afficher la page de modification

Sur les pages des saisons des émissions télévisées

Afficher la saison suivante (flèche droite)
Afficher la saison précédente (flèche gauche)

Sur les pages des épisodes des émissions télévisées

Afficher l'épisode suivant (flèche droite)
Afficher l'épisode précédent (flèche gauche)

Sur toutes les pages des images / photos

a Ouvrir la fenêtre d'ajout d'image / photo

Sur toutes les pages de modifications

t Ouvrir le sélecteur de traduction
ctrl+ s Envoyer le formulaire

Sur les pages des discussions

n Créer une nouvelle discussion
w Basculer le statut de suivi
p Basculer publique / privée
c Basculer fermer / ouvrir
a Ouvrir l'activité
r Répondre à la discussion
l Afficher la dernière réponse
ctrl+ enter Envoyer votre message
Page suivante (flèche droite)
Page précédente (flèche gauche)

Paramètres

Vous souhaitez évaluer ou ajouter cet élément à une liste ?

Connexion