دعم الموقع

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 أرسل رسالتك
(السهم الايمن) الصفحة التالية
(السهم الايسر) الصفحة السابقة

الاعدادات

هل تريد تقييم او اضافة هذا العنصر للقائمة؟

تسجيل الدخول