The Movie Database Support

When I use the movie/id url (http://api.themoviedb.org/3/movie/id) I am given the poster path like so "/2lECpi35Hnbpa4y46JX0aY3AWTy.jpg". I am wondering what the base url is, and/or what the whole url I would use to get the image. Thanks

Here is what i'm given from my url (http://api.themoviedb.org/3/movie/275?api_key={APIKEY})

2 replies (on page 1 of 1)

Jump to last post

Hi ntfalcone93,

You can read about how to build image URLs here: http://docs.themoviedb.apiary.io/#reference/configuration

Cheers.

Hi you have to use the configuration request (look at the above answer by @ntfalcone93) to get the base_url of the image. You also need to specify which size format you need it. They are in the image dictionary provided in the JSON response for the configuration. This is the configuration request link I used: https://api.themoviedb.org/3/configuration?api_key=MYAPIKEY

this is what my image url looks like: https://image.tmdb.org/t/p/ (The base url) w300/ (the size param) w93GAiq860UjmgR6tU9h2T24vaV.jpg (image link). Obviously without the spaces and the brackets:)

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