The Movie Database Support

Hi team!...I`m looking for the base url for getting poster and other images ...I am quite new here. well I found a way to get the image with http://image.tmdb.org/t/p/w185/kK6Oq4JywUNXmJ299efUkv1h6Mn.jpg , but when I import it in my .js app I get a 404 error. Thank you

2 replies (on page 1 of 1)

Jump to last post

Use this

https://image.tmdb.org/t/p/original/[poster_path]

https://image.tmdb.org/t/p/original/wigZBAmNrIhxp2FNGOROUAeHvdh.jpg
Make sure to read the documentation around images.

See here: https://developers.themoviedb.org/3/configuration/get-api-configuration
Some older ones may still work. But they can die at any time.
These are official sizes:

images  
base_url    "http://image.tmdb.org/t/p/"
secure_base_url "https://image.tmdb.org/t/p/"
backdrop_sizes  
0   "w300"
1   "w780"
2   "w1280"
3   "original"
logo_sizes  
0   "w45"
1   "w92"
2   "w154"
3   "w185"
4   "w300"
5   "w500"
6   "original"
poster_sizes    
0   "w92"
1   "w154"
2   "w185"
3   "w342"
4   "w500"
5   "w780"
6   "original"
profile_sizes   
0   "w45"
1   "w185"
2   "h632"
3   "original"
still_sizes 
0   "w92"
1   "w185"
2   "w300"
3   "original"

As for the import error, these are the error messages from the TMDb servers.
See here https://www.themoviedb.org/documentation/api/status-codes
If it is not one of these messages, it is probably a message from another service.

See here
https://developers.themoviedb.org/3/configuration/get-api-configuration

Upload - Supported Image Sizes (in pixels)

| API name |      Item       |   Min Res  |   Max Res   |
| :------: | :-------------: | :--------: | :---------: |
|  poster  |     Poster      |  500 x 750 | 2000 x 3000 |
| backdrop |     Fanart      | 1280 x 720 | 3840 x 2160 |
|   still  | TV Show Episode | 1280 x 720 | 3840 x 2160 |
|  profile |    Cast/Crew    |  300 x 450 | 2000 x 3000 |

API - Supported Image Sizes

|  poster  | backdrop |  still   | profile  |   logo   |
| :------: | :------: | :------: | :------: | :------: |
| -------- | -------- | -------- |    w45   |    w45   |
|    w92   | -------- |    w92   | -------- |    w92   |
|   w154   | -------- | -------- | -------- |   w154   |
|   w185   | -------- |   w185   |   w185   |   w185   |
| -------- |   w300   |   w300   | -------- |   w300   |
|   w342   | -------- | -------- | -------- | -------- |
|   w500   | -------- | -------- | -------- |   w500   |
| -------- | -------- | -------- |   h632   | -------- |
|   w780   |   w780   | -------- | -------- | -------- |
| -------- |  w1280   | -------- | -------- | -------- |
| original | original | original | original | original |  

Original Size is the size of the uploaded image.
It can be between Min Res (Minimum Resolution) and Max Res (Maximum Resolution).

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