The Movie Database Support

In movies & tv when you &append_to_response=images it returns an images.backdrops and images.stills collection The image usually has these fields

"aspect_ratio"
"height"
"iso_639_1": null,
"file_path": 
"vote_average":
"vote_count": 
"width": 

However the image collections have no order; there are logos & text in different languages superimposed on the images.
Can we curate the image responses that it returns english images?
when I try to set language en-US in the query params, images return empty.
https://api.themoviedb.org/3/movie/329865?api_key=<>&language=en-US&append_to_response=images.

res

...
"images": {
"backdrops": [],
"logos": [],
"posters": []
},

thanks

2 replies (on page 1 of 1)

Jump to last post

@ridhwaans said:
Curate images response in movies & tv to english
In movies & tv when you &append_to_response=images it returns an images.backdrops and images.stills collection
The image usually has these fields

"aspect_ratio"
"height"
"iso_639_1": null,
"file_path": 
"vote_average":
"vote_count": 
"width": 

However the image collections have no order; there are logos & text in different languages superimposed on the images.
Can we curate the image responses that it returns english images?
when I try to set language en-US in the query params, images return empty.
https://api.themoviedb.org/3/movie/329865?api_key=<>&language=en-US&append_to_response=images.

res

...
"images": {
"backdrops": [],
"logos": [],
"posters": []
},

thanks

You need to use Parameter &include_image_language. For example:
Images only:

https://api.themoviedb.org/3/movie/299534/images?api_key=[MY_KEY]&language=en-US&include_image_language=en,null  

OR Getting details plus images:

https://api.themoviedb.org/3/movie/329865?api_key=[MY_KEY]&language=en-US&append_to_response=images&include_image_language=en,nul 

If you do not use Parameter &include_image_language, then the &language Parameter can not contain reference to Country.
You can not use en-US, language-COUNTRY. Must only use en, language. For example:

https://api.themoviedb.org/3/movie/299534/images?api_key=[MYKEY]&language=en

@ticao2 thank you!

Can't find a movie or TV show? Login to create it.

Global

s focus the search bar
p open profile menu
esc close an open window
? open keyboard shortcut window

On media pages

b go back (or to parent when applicable)
e go to edit page

On TV season pages

(right arrow) go to next season
(left arrow) go to previous season

On TV episode pages

(right arrow) go to next episode
(left arrow) go to previous episode

On all image pages

a open add image window

On all edit pages

t open translation selector
ctrl+ s submit form

On discussion pages

n create new discussion
w toggle watching status
p toggle public/private
c toggle close/open
a open activity
r reply to discussion
l go to last reply
ctrl+ enter submit your message
(right arrow) next page
(left arrow) previous page

Settings

Want to rate or add this item to a list?

Login