دعم الموقع

How to get a franchise logo and poster in a specific language?
For example, I want to get a logo: https://www.themoviedb.org/tv/1399-game-of-thrones/images/logos?image_language=ru
I didn't find how to do it in the API description.

4 ردود (على هذه الصفحة 1 من 1)

Jump to last post

@Aleksey_Nice said:
How to get a franchise logo and poster in a specific language?
How to get a franchise logo and poster in a specific language?
For example, I want to get a logo:
https://www.themoviedb.org/tv/1399-game-of-thrones/images/logos?image_language=ru
I didn't find how to do it in the API description.

Two fixes needed in your API Request.
1 - It is not possible to specify the type of image, such as logos in your case.
All kinds of images will be in the answer. (poster, logo, backdrop etc...)
You should find in the answer the images that are in the logos group.

2 - To specify the desired language of the images use the parameter &include_image_language=
It might be better to also use the null language parameter.
&include_image_language=null,ru
For images that do not have a defined language.
Enjoy and read this page with the explanations:
https://developer.themoviedb.org/docs/image-languages
https://developer.themoviedb.org/reference/tv-series-images

Example:

https://api.themoviedb.org/3/tv/1399/images?api_key=THE_KEY&include_image_language=ru
id  1399
logos   
0   
aspect_ratio    2.667
height  234
iso_639_1   "ru"
file_path   "/6Xog9OYPNg59j3CHo9ijqeTwRbY.png"
vote_average    0
vote_count  0
width   624
posters 
0   
aspect_ratio    0.667
height  1500
iso_639_1   "ru"
file_path   "/tbBQW8jpDH7RpAymMGnBluIsdmH.jpg"
vote_average    5.384
...

Thanks

Hi, the url "file_path" returns a 404 error

In order to create a URL for an image, you need to follow these instructions.

لم تجد الفلم أو المسلسل ؟ سجل دخولك و انشئها

عام

s ركز شريط البحث
p افتح قائمة الملف الشخصي
esc اغلق النافذة المفتوحة
? افتح نافذة اختصارات لوحة المفاتيح

على كافة صفحات الوسائط

b ارجع للخلف (او للصفحة الام عند التطبيق)
e انتقل لصفحة التعديل

على كافة صفحات موسم المسلسل

(السهم الايمن) انتقل للموسم التالي
(السهم الايسر) انتقل للموسم السابق

على كافة صفحات حلقة المسلسل

(السهم الايمن) انتقل للحلقة التالية
(السهم الايسر) انتقل للحلقة السابقة

على كافة صفحات الصور

a افتح صفحة اضافة الصورة

على كافة صفحات التعديل

t افتح محدد الترجمة
ctrl+ s ارسال النموذج

على صفحات المناقشة

n انشى نقاش جديد
w تبديل حالة المتابعة
p تبديل عام / خاص
c تبديل اغلاق / فتح
a افتح الانشطة
r رد على النقاش
l انتقل لأخر رد
ctrl+ enter أرسل رسالتك
(السهم الايمن) الصفحة التالية
(السهم الايسر) الصفحة السابقة

الاعدادات

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

تسجيل الدخول