The Movie Database Support

Hello TMDB team, I recently discovered this amazing database and I didn't succeed to get backdrops paths since I'm getting an empty array even when I tried a lot of movies by this request: { https://api.themoviedb.org/3/movie/{movie_id}/images?api_key=<>&language=en-US }. Also I wanted to thank you guys and all the contributors for this amazing work, keep up the good work <3.

2 replies (on page 1 of 1)

Jump to last post

@mon3om said:
Get all backdrops paths
Hello TMDB team,
I recently discovered this amazing database and I didn't succeed to get backdrops paths since I'm getting an empty array even when I tried a lot of movies by this request:

https://api.themoviedb.org/3/movie/{movie_id}/images?api_key=<<api_key>>&language=en-US

Also I wanted to thank you guys and all the contributors for this amazing work, keep up the good work <3.

To receive the image paths, in this API Request you are using, you need to add the parameter &include_image_language=
Just use the code iso_639_1. For example en or pt.
https://api.themoviedb.org/3/movie/550/images?api_key=THE_KEY&language=en-US&include_image_language=en

If you want images from different languages, just add the language codes separated by a comma.
For example en, pt, es, de
https://api.themoviedb.org/3/movie/550/images?api_key=THE_KEY&language=en-US&include_image_language=en,pt,es,de

In the case of Backdrops, as most do not have text and therefore do not have a language, you need to use the null language code.
For example en, pt, es, de, null
https://api.themoviedb.org/3/movie/550/images?api_key=THE_KEY&language=en-US&include_image_language=en,pt,es,de,null

To receive all images, of all languages, with or without defined language, make the API Request without defining the initial parameter &language=
For example
https://api.themoviedb.org/3/movie/550/images?api_key=THE_KEY

@ticao2 said:

@mon3om said:
Get all backdrops paths
Hello TMDB team,
I recently discovered this amazing database and I didn't succeed to get backdrops paths since I'm getting an empty array even when I tried a lot of movies by this request:

https://api.themoviedb.org/3/movie/{movie_id}/images?api_key=<<api_key>>&language=en-US

Also I wanted to thank you guys and all the contributors for this amazing work, keep up the good work <3.

To receive the image paths, in this API Request you are using, you need to add the parameter &include_image_language=
Just use the code iso_639_1. For example en or pt.
https://api.themoviedb.org/3/movie/550/images?api_key=THE_KEY&language=en-US&include_image_language=en

If you want images from different languages, just add the language codes separated by a comma.
For example en, pt, es, de
https://api.themoviedb.org/3/movie/550/images?api_key=THE_KEY&language=en-US&include_image_language=en,pt,es,de

In the case of Backdrops, as most do not have text and therefore do not have a language, you need to use the null language code.
For example en, pt, es, de, null
https://api.themoviedb.org/3/movie/550/images?api_key=THE_KEY&language=en-US&include_image_language=en,pt,es,de,null

To receive all images, of all languages, with or without defined language, make the API Request without defining the initial parameter &language=
For example
https://api.themoviedb.org/3/movie/550/images?api_key=THE_KEY

Thank you. Problem solved.

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