Поддержка 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 ответов (на странице 1 из 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!

Не можете найти фильм или сериал? Войдите на сайт, чтобы добавить его.

Глобальные

s фокусироваться на панели поиска
p открыть меню профиля
esc закрыть открытое окно
? открыть окно сочетаний клавиш

На страницах медиа

b назад (или выше, если применимо)
e перейти на страницу правки

На страницах сезонов

(стрелка вправо) перейти к следующему сезону
(стрелка влево) перейти к предыдущему сезону

На страницах эпизодов

(стрелка вправо) перейти к следующему эпизоду
(стрелка влево) перейти к предыдущему эпизоду

На всех страницах изображений

a открыть окно добавления изображения

На всех страницах правки

t открыть переключатель переводов
ctrl+ s отправить форму

На страницах обсуждения

n создать новое обсуждение
w сменить статус отслеживания
p публичное/приватное
c закрыть/открыть
a открыть страницу действий
r ответить в обсуждении
l перейти к последнему ответу
ctrl+ enter отправить своё сообщение
(стрелка вправо) следующая страница
(стрелка влево) предыдущая страница

Параметры

Хотите поставить оценку или добавить в список?

Войти