The Movie Database Support

For the movies and TV API, can we add thumbnail pictures in every query, like Netflix. Right now Movies and TV on TMDB have posters only, but not landscape thumbnails of a movie still. It can be very useful
Thanks

4 replies (on page 1 of 1)

Jump to last post

Hi @ridhwaans,

I'm not sure what you mean exactly. TMDb supports landscape images, we call them backdrops here.

They are returned via the /images method on the API, keyed under the backdrops field.

hi @travisbell ,

I have tried to fetch multiple movie ids at https://developers.themoviedb.org/3/movies/get-movie-images
however all of the responses are returning

{
  "id": <movie_id>,
  "backdrops": [],
  "posters": []
}

I believe it should work, unless i did something wrong
I have tried lion king, kubo, hobbs and shaw, and more, but getting empty backdrops

My guess if you need to include a include_image_language param. Give this document a read through.

https://api.themoviedb.org/3/movie/420818?api_key=###&append_to_response=images&language=en-US&include_image_language=null,en

Request

$ curl -v 'https://api.themoviedb.org/3/movie/420818?api_key=###&append_to_response=images&language=en-US&include_image_language=null,en'
*   Trying 18.213.189.212...
* TCP_NODELAY set
* Connected to api.themoviedb.org (18.213.189.212) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH
* successfully set certificate verify locations:
*   CAfile: /etc/ssl/cert.pem
  CApath: none
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
* TLSv1.2 (IN), TLS handshake, Server hello (2):
* TLSv1.2 (IN), TLS handshake, Certificate (11):
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
* TLSv1.2 (IN), TLS handshake, Server finished (14):
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
* TLSv1.2 (OUT), TLS change cipher, Client hello (1):
* TLSv1.2 (OUT), TLS handshake, Finished (20):
* TLSv1.2 (IN), TLS change cipher, Client hello (1):
* TLSv1.2 (IN), TLS handshake, Finished (20):
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
* ALPN, server accepted to use http/1.1
* Server certificate:
*  subject: CN=*.themoviedb.org
*  start date: Dec  3 00:00:00 2018 GMT
*  expire date: Dec  2 12:00:00 2020 GMT
*  subjectAltName: host "api.themoviedb.org" matched cert's "*.themoviedb.org"
*  issuer: C=US; O=DigiCert Inc; OU=www.digicert.com; CN=RapidSSL RSA CA 2018
*  SSL certificate verify ok.
> GET /3/movie/420818?api_key=###&append_to_response=images&language=en-US&include_image_language=null,en HTTP/1.1
> Host: api.themoviedb.org
> User-Agent: curl/7.54.0
> Accept: */*
>
< HTTP/1.1 200 OK
< Date: Mon, 26 Aug 2019 22:31:34 GMT
< Content-Type: application/json;charset=utf-8
< Content-Length: 8113
< Connection: keep-alive
< Server: openresty
< Vary: Accept-Encoding
< Access-Control-Allow-Origin: *
< Access-Control-Expose-Headers: ETag, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, Retry-After
< Cache-Control: public, max-age=28800
< ETag: "a723ca7c1574c75711f4f7edbb244085"
< Last-Modified: 2019-08-20 13:13:18 +0000
< Vary: Accept-Encoding
< X-Memc: MISS, STORE
< X-Memc-Age: 0
< X-Memc-Expires: 28800
< X-Memc-Key: 76b7873ea2a7f9baafa1d5d2b20b1c8a
<
* Connection #0 to host api.themoviedb.org left intact

Response

{
  "adult": false,
  "backdrop_path": "/1TUg5pO1VZ4B0Q1amk3OlXvlpXV.jpg",
  "belongs_to_collection": null,
  "budget": 260000000,
  "genres": [
    {
      "id": 12,
      "name": "Adventure"
    },
    {
      "id": 16,
      "name": "Animation"
    },
    {
      "id": 10751,
      "name": "Family"
    },
    {
      "id": 18,
      "name": "Drama"
    },
    {
      "id": 28,
      "name": "Action"
    }
  ],
  "homepage": "https://movies.disney.com/the-lion-king-2019",
  "id": 420818,
  "imdb_id": "tt6105098",
  "original_language": "en",
  "original_title": "The Lion King",
  "overview": "Simba idolises his father, King Mufasa, and takes to heart his own royal destiny. But not everyone in the kingdom celebrates the new cub's arrival. Scar, Mufasa's brother—and former heir to the throne—has plans of his own. The battle for Pride Rock is ravaged with betrayal, tragedy and drama, ultimately resulting in Simba's exile. With help from a curious pair of newfound friends, Simba will have to figure out how to grow up and take back what is rightfully his.",
  "popularity": 267.699,
  "poster_path": "/2bXbqYdUdNVa8VIWXVfclP2ICtT.jpg",
  "production_companies": [
    {
      "id": 2,
      "logo_path": "/wdrCwmRnLFJhEoH8GSfymY85KHT.png",
      "name": "Walt Disney Pictures",
      "origin_country": "US"
    },
    {
      "id": 7297,
      "logo_path": "/l29JYQVZbTcjZXoz4CUYFpKRmM3.png",
      "name": "Fairview Entertainment",
      "origin_country": "US"
    }
  ],
  "production_countries": [
    {
      "iso_3166_1": "US",
      "name": "United States of America"
    }
  ],
  "release_date": "2019-07-12",
  "revenue": 1023582142,
  "runtime": 118,
  "spoken_languages": [
    {
      "iso_639_1": "en",
      "name": "English"
    }
  ],
  "status": "Released",
  "tagline": "The King has Returned.",
  "title": "The Lion King",
  "video": false,
  "vote_average": 7.2,
  "vote_count": 2036,
  "images": {
    "backdrops": [
      {
        "aspect_ratio": 1.777777777777778,
        "file_path": "/1TUg5pO1VZ4B0Q1amk3OlXvlpXV.jpg",
        "height": 1440,
        "iso_639_1": null,
        "vote_average": 5.392,
        "vote_count": 8,
        "width": 2560
      },
      {
        "aspect_ratio": 1.777777777777778,
        "file_path": "/nRXO2SnOA75OsWhNhXstHB8ZmI3.jpg",
        "height": 2160,
        "iso_639_1": null,
        "vote_average": 5.384,
        "vote_count": 2,
        "width": 3840
      },
      {
        "aspect_ratio": 1.777777777777778,
        "file_path": "/4G7SzRAaXYZ5hYfS05wbTzjv2Tn.jpg",
        "height": 2160,
        "iso_639_1": null,
        "vote_average": 5.326,
        "vote_count": 7,
        "width": 3840
      },
      {
        "aspect_ratio": 1.777777777777778,
        "file_path": "/7Dd3YYyBhBC1PnaFXVNOhX2bSvS.jpg",
        "height": 2160,
        "iso_639_1": null,
        "vote_average": 5.246,
        "vote_count": 2,
        "width": 3840
      },
      {
        "aspect_ratio": 1.778006166495375,
        "file_path": "/aBA2iZiYi1C0myGDMnOorLpQoZa.jpg",
        "height": 973,
        "iso_639_1": "xx",
        "vote_average": 5.18,
        "vote_count": 3,
        "width": 1730
      },
      {
        "aspect_ratio": 1.77822990844354,
        "file_path": "/nMi6OM0AH9k8Hb48Rbcdrvp5ias.jpg",
        "height": 983,
        "iso_639_1": null,
        "vote_average": 5.18,
        "vote_count": 3,
        "width": 1748
      },
      {
        "aspect_ratio": 1.777777777777778,
        "file_path": "/4Lu9gNYaawaaRwEHIf0MM03maTa.jpg",
        "height": 720,
        "iso_639_1": "xx",
        "vote_average": 5.044,
        "vote_count": 3,
        "width": 1280
      },
      {
        "aspect_ratio": 1.777777777777778,
        "file_path": "/rowAqh0fO7AeEJE0sDn8KwVhGCo.jpg",
        "height": 1350,
        "iso_639_1": null,
        "vote_average": 0.0,
        "vote_count": 0,
        "width": 2400
      }
    ],
    "posters": [
      {
        "aspect_ratio": 0.6666666666666666,
        "file_path": "/pSfwXxP94xktZKn3UaeVe6VdFZl.jpg",
        "height": 3000,
        "iso_639_1": "en",
        "vote_average": 6.09,
        "vote_count": 23,
        "width": 2000
      },
      {
        "aspect_ratio": 0.6669133974833457,
        "file_path": "/no2HvBMyXp9hf1L3yNNKwnk0XFE.jpg",
        "height": 1351,
        "iso_639_1": "en",
        "vote_average": 5.582,
        "vote_count": 9,
        "width": 901
      },
      {
        "aspect_ratio": 0.6798866855524079,
        "file_path": "/2TMCurQcQjYOPAnnbnd550cRfMH.jpg",
        "height": 2118,
        "iso_639_1": "en",
        "vote_average": 5.454,
        "vote_count": 3,
        "width": 1440
      },
      {
        "aspect_ratio": 0.6752,
        "file_path": "/iTylvcrrjPe72qjrgF7tSgC7NzY.jpg",
        "height": 2500,
        "iso_639_1": "en",
        "vote_average": 5.39,
        "vote_count": 6,
        "width": 1688
      },
      {
        "aspect_ratio": 0.6666666666666666,
        "file_path": "/dzBtMocZuJbjLOXvrl4zGYigDzh.jpg",
        "height": 3000,
        "iso_639_1": "en",
        "vote_average": 5.348,
        "vote_count": 19,
        "width": 2000
      },
      {
        "aspect_ratio": 0.6668,
        "file_path": "/uypOzTSMzL4i5XslBzh1kgNx6el.jpg",
        "height": 2500,
        "iso_639_1": "en",
        "vote_average": 5.326,
        "vote_count": 7,
        "width": 1667
      },
      {
        "aspect_ratio": 0.66650390625,
        "file_path": "/jzmDQe2utWhu3zplReOcRVD3n3c.jpg",
        "height": 2048,
        "iso_639_1": "en",
        "vote_average": 5.322,
        "vote_count": 5,
        "width": 1365
      },
      {
        "aspect_ratio": 0.6748046875,
        "file_path": "/zTKQzYZfYFvarzEIpvF8NxYVN5Y.jpg",
        "height": 2048,
        "iso_639_1": "en",
        "vote_average": 5.322,
        "vote_count": 5,
        "width": 1382
      },
      {
        "aspect_ratio": 0.6666666666666666,
        "file_path": "/zHDYmeUmKUDzsXy4ZyoaDNWOSXN.jpg",
        "height": 3000,
        "iso_639_1": null,
        "vote_average": 5.312,
        "vote_count": 1,
        "width": 2000
      },
      {
        "aspect_ratio": 0.66640625,
        "file_path": "/6mbEmRNLqryg8E6mWhL4iVHmtUU.jpg",
        "height": 1280,
        "iso_639_1": "en",
        "vote_average": 5.312,
        "vote_count": 1,
        "width": 853
      },
      {
        "aspect_ratio": 0.6666666666666666,
        "file_path": "/fVL2mFzZULAm7b4wL1PmYrh2aKU.jpg",
        "height": 3000,
        "iso_639_1": null,
        "vote_average": 5.312,
        "vote_count": 1,
        "width": 2000
      },
      {
        "aspect_ratio": 0.6666666666666666,
        "file_path": "/sO5sgk89RSQ9ScoHOXbmwzwm6Xg.jpg",
        "height": 3000,
        "iso_639_1": null,
        "vote_average": 5.312,
        "vote_count": 1,
        "width": 2000
      },
      {
        "aspect_ratio": 0.6666666666666666,
        "file_path": "/2rByP6wOws4pA4mDsun4itF7Yb0.jpg",
        "height": 3000,
        "iso_639_1": null,
        "vote_average": 5.312,
        "vote_count": 1,
        "width": 2000
      },
      {
        "aspect_ratio": 0.6666666666666666,
        "file_path": "/4ZE6ptxLKrsPbq7L7qXSJFCAzvS.jpg",
        "height": 3000,
        "iso_639_1": null,
        "vote_average": 5.312,
        "vote_count": 1,
        "width": 2000
      },
      {
        "aspect_ratio": 0.6666666666666666,
        "file_path": "/dAW2Z7mTLIXh1UmTT0cK5yugVue.jpg",
        "height": 3000,
        "iso_639_1": null,
        "vote_average": 5.312,
        "vote_count": 1,
        "width": 2000
      },
      {
        "aspect_ratio": 0.6666666666666666,
        "file_path": "/pTNvhB30X1CToc2B62FENioZ5a0.jpg",
        "height": 3000,
        "iso_639_1": null,
        "vote_average": 5.312,
        "vote_count": 1,
        "width": 2000
      },
      {
        "aspect_ratio": 0.6665330661322645,
        "file_path": "/sBBfyUiK4g50pch83RUXbEUengP.jpg",
        "height": 2495,
        "iso_639_1": "xx",
        "vote_average": 5.252,
        "vote_count": 4,
        "width": 1663
      },
      {
        "aspect_ratio": 0.69775390625,
        "file_path": "/3MFZm7WloP1wYyO0b6vmTpF16oB.jpg",
        "height": 2048,
        "iso_639_1": null,
        "vote_average": 5.246,
        "vote_count": 2,
        "width": 1429
      },
      {
        "aspect_ratio": 0.6666666666666666,
        "file_path": "/2bXbqYdUdNVa8VIWXVfclP2ICtT.jpg",
        "height": 3000,
        "iso_639_1": "en",
        "vote_average": 5.206,
        "vote_count": 9,
        "width": 2000
      },
      {
        "aspect_ratio": 0.6748046875,
        "file_path": "/ww6EqByHQhfFhO7d1Dnf893uY19.jpg",
        "height": 2048,
        "iso_639_1": "en",
        "vote_average": 5.18,
        "vote_count": 3,
        "width": 1382
      },
      {
        "aspect_ratio": 0.6748046875,
        "file_path": "/v7Sx8QRcqYFw33W5DO15QvyShJX.jpg",
        "height": 2048,
        "iso_639_1": "en",
        "vote_average": 5.18,
        "vote_count": 3,
        "width": 1382
      },
      {
        "aspect_ratio": 0.6748046875,
        "file_path": "/QjmTxUsKQCNwNr0IsyMo3nCXKD.jpg",
        "height": 2048,
        "iso_639_1": "en",
        "vote_average": 5.18,
        "vote_count": 3,
        "width": 1382
      },
      {
        "aspect_ratio": 0.6748046875,
        "file_path": "/2tsMLJ7ZGcII73ekfvVjXh1ovmK.jpg",
        "height": 2048,
        "iso_639_1": "en",
        "vote_average": 5.18,
        "vote_count": 3,
        "width": 1382
      },
      {
        "aspect_ratio": 0.6748046875,
        "file_path": "/cZAgmwZCrWtiGKTY31ZVbCZc4Xh.jpg",
        "height": 2048,
        "iso_639_1": "en",
        "vote_average": 5.18,
        "vote_count": 3,
        "width": 1382
      },
      {
        "aspect_ratio": 0.6748046875,
        "file_path": "/tYxAwHUrbor4ILtHuXhxLsKFXdL.jpg",
        "height": 2048,
        "iso_639_1": "en",
        "vote_average": 5.18,
        "vote_count": 3,
        "width": 1382
      },
      {
        "aspect_ratio": 0.6748046875,
        "file_path": "/sydPkFgmm67eyUDOJA2mXRV5XSf.jpg",
        "height": 2048,
        "iso_639_1": "en",
        "vote_average": 5.18,
        "vote_count": 3,
        "width": 1382
      },
      {
        "aspect_ratio": 0.6748046875,
        "file_path": "/1XBoeisokD3M50QRSlTLL9jjXo6.jpg",
        "height": 2048,
        "iso_639_1": "en",
        "vote_average": 5.18,
        "vote_count": 3,
        "width": 1382
      },
      {
        "aspect_ratio": 0.6748046875,
        "file_path": "/46seDdUgIZ7L7GyyVjEmdodfGH6.jpg",
        "height": 2048,
        "iso_639_1": "en",
        "vote_average": 5.18,
        "vote_count": 3,
        "width": 1382
      },
      {
        "aspect_ratio": 0.6666666666666666,
        "file_path": "/vKm3MAIsWB0uhj2vemNjGjMHAjd.jpg",
        "height": 3000,
        "iso_639_1": "en",
        "vote_average": 5.172,
        "vote_count": 1,
        "width": 2000
      },
      {
        "aspect_ratio": 0.6752,
        "file_path": "/hpF2zJCagOBv36qIyvTnxc3rh1h.jpg",
        "height": 2500,
        "iso_639_1": "en",
        "vote_average": 5.146,
        "vote_count": 10,
        "width": 1688
      },
      {
        "aspect_ratio": 0.7012622720897616,
        "file_path": "/5LXDTCjZHmVETZvT9aYqpRa8Jzz.jpg",
        "height": 1426,
        "iso_639_1": "xx",
        "vote_average": 5.118,
        "vote_count": 4,
        "width": 1000
      },
      {
        "aspect_ratio": 0.6748046875,
        "file_path": "/As2YNgsUm31frN54hKksrEzUri7.jpg",
        "height": 2048,
        "iso_639_1": "en",
        "vote_average": 5.106,
        "vote_count": 2,
        "width": 1382
      },
      {
        "aspect_ratio": 0.6666666666666666,
        "file_path": "/devZdyPRXMiN8HHiX7Y8s0LLEee.jpg",
        "height": 3000,
        "iso_639_1": "en",
        "vote_average": 0.0,
        "vote_count": 0,
        "width": 2000
      }
    ]
  }
}

thanks @travisbell exactly what I needed

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