Axuda de The Movie Database

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 respostas (na páxina 1 de 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!

Non podes atopar unha película ou serie? Inicia sesión para creala.

Global

s amosar a barra de procura
p abrir menú do perfil
esc pechar e abrir xanela
? abrir xanela de atallos do teclado

En páxinas de medios

b atrás (ou á principal se aplica)
e ir a editar páxina

En páxinas de tempadas de televisión

(flecha dereita) ir á tempada seguinte
(flecha esquerda) ir á tempada anterior

En páxinas de episodios de televisión

(flecha dereita) ir ao episodio seguinte
(flecha esquerda) ir ao episodio anterior

En todas as páxinas de imaxe

a abrir a xanela de engadir imaxe

En todas as páxinas de edición

t abrir selector de traducións
ctrl+ s enviar formulario

Nas páxinas de debate

n crear un novo debate
w amosar o estado do seguimento
p mudar público/privado
c mudar abrir/pechar
a abrir actividade
r responder no debate
l ir á última resposta
ctrl+ enter eviar a túa mensaxe
(flecha dereita) páxina seguinte
(flecha esquerda) ir á páxina anterior

Configuración

Queres valorar ou engadir o elemento a unha listaxe?

Iniciar sesión