Поддержка The Movie Database

Hello there,

I am new here, I search about base url for poster , but I didn't can help please help me out ?

19 ответов (на странице 1 из 2)

Jump to last post

Следующая страницаПоследняя страница

The base URL will look like: http://image.tmdb.org/t/p/ then you'll need a size let's say w185 then the poster path you got, so this is the final url http://image.tmdb.org/t/p/w185/nBNZadXqJSdt05SHLqgT0HuC5Gm.jpg

and this is the docs where you can find out more: http://docs.themoviedb.apiary.io/#reference/account/get?console=1

Thanks for your time and answer, that will help a lot

Hello, http://image.tmdb.org/t/p/w185//nBNZadXqJSdt05SHLqgT0HuC5Gm.jpg this Image url is working fine, but when I change width with w360 or w200, it's not work, is there any predefined values for width size ? I tried with below urls. http://image.tmdb.org/t/p/w360//nBNZadXqJSdt05SHLqgT0HuC5Gm.jpg http://image.tmdb.org/t/p/w185//nBNZadXqJSdt05SHLqgT0HuC5Gm.jpg

Hi again, these are the the sizes that I know: "w92", "w154", "w185", "w342", "w500", "w780", or "original"; and I think there isn't any other sizes "original" will give you a very large poster, if you're on mobile "w185" is the best choice

you can use w185_and_h278_bestv2 , I am using it for uniformity.

@PrajitGandhi said:

you can use w185_and_h278_bestv2 , I am using it for uniformity.

Taken from [https://github.com/mlabouardy/moviedb/blob/master/moviedb_test.go]

Important part attached here:

const RAW_HTML = 
<img class="poster fade lazyautosizes lazyloaded" data-sizes="auto"
    data-src="https://image.tmdb.org/t/p/w185_and_h278_bestv2/9E2y5Q7WlCVNEhP5GiVTjhEhx1o.jpg"
    data-srcset="https://image.tmdb.org/t/p/w185_and_h278_bestv2/9E2y5Q7WlCVNEhP5GiVTjhEhx1o.jpg 1x, https://image.tmdb.org/t/p/w370_and_h556_bestv2/9E2y5Q7WlCVNEhP5GiVTjhEhx1o.jpg 2x"
    alt="It" sizes="185px"
    srcset="https://image.tmdb.org/t/p/w185_and_h278_bestv2/9E2y5Q7WlCVNEhP5GiVTjhEhx1o.jpg 1x, https://image.tmdb.org/t/p/w370_and_h556_bestv2/9E2y5Q7WlCVNEhP5GiVTjhEhx1o.jpg 2x"
    src="https://image.tmdb.org/t/p/w185_and_h278_bestv2/9E2y5Q7WlCVNEhP5GiVTjhEhx1o.jpg">
<img class="poster fade lazyautosizes lazyloaded" data-sizes="auto"
    data-src="https://image.tmdb.org/t/p/w185_and_h278_bestv2/aMpyrCizvSdc0UIMblJ1srVgAEF.jpg"
    data-srcset="https://image.tmdb.org/t/p/w185_and_h278_bestv2/aMpyrCizvSdc0UIMblJ1srVgAEF.jpg 1x, https://image.tmdb.org/t/p/w370_and_h556_bestv2/aMpyrCizvSdc0UIMblJ1srVgAEF.jpg 2x"
    alt="Blade Runner 2049" sizes="185px"
    srcset="https://image.tmdb.org/t/p/w185_and_h278_bestv2/aMpyrCizvSdc0UIMblJ1srVgAEF.jpg 1x, https://image.tmdb.org/t/p/w370_and_h556_bestv2/aMpyrCizvSdc0UIMblJ1srVgAEF.jpg 2x"
    src="https://image.tmdb.org/t/p/w185_and_h278_bestv2/aMpyrCizvSdc0UIMblJ1srVgAEF.jpg">
<img class="poster fade lazyautosizes lazyloaded" data-sizes="auto"
     data-src="https://image.tmdb.org/t/p/w185_and_h278_bestv2/8dTWj3c74RDhXfSUZpuyVNJrgS.jpg"
     data-srcset="https://image.tmdb.org/t/p/w185_and_h278_bestv2/8dTWj3c74RDhXfSUZpuyVNJrgS.jpg 1x, https://image.tmdb.org/t/p/w370_and_h556_bestv2/8dTWj3c74RDhXfSUZpuyVNJrgS.jpg 2x"
     alt="American Made" sizes="103px"
     srcset="https://image.tmdb.org/t/p/w185_and_h278_bestv2/8dTWj3c74RDhXfSUZpuyVNJrgS.jpg 1x, https://image.tmdb.org/t/p/w370_and_h556_bestv2/8dTWj3c74RDhXfSUZpuyVNJrgS.jpg 2x"
     src="https://image.tmdb.org/t/p/w185_and_h278_bestv2/8dTWj3c74RDhXfSUZpuyVNJrgS.jpg">

Hi, I am new here, I want to collect the TV Series posters by its genre to use these as my dataset for genre classification. Can anybody help me, what should I do to collect all the posters? Thank you so much and sorrry for my bad english ^

@shivam_narkar_47 said:

I am not getting this url https://image.tmdb.org/t/p/w500/8uO0gUM8aNqYLs1OsTBQiXu0fEv.jpg

Indeed that image has been removed.

@travisbell said:

@shivam_narkar_47 said:

I am not getting this url https://image.tmdb.org/t/p/w500/8uO0gUM8aNqYLs1OsTBQiXu0fEv.jpg

Indeed that image has been removed.

So How can we get that images

You can’t. If it’s returning a 404, it’s gone.

@donsaad said:

The base URL will look like: http://image.tmdb.org/t/p/ then you'll need a size let's say w185 then the poster path you got, so this is the final url http://image.tmdb.org/t/p/w185/nBNZadXqJSdt05SHLqgT0HuC5Gm.jpg

and this is the docs where you can find out more: http://docs.themoviedb.apiary.io/#reference/account/get?console=1

thank you - it worked

@Kochab said:

Link was broken. New one: https://developers.themoviedb.org/3/configuration/get-api-configuration

Thanks brother you made my job very much easy

please I need a base_url, the one I used doesn't display the movie pictures.

Не можете найти фильм или сериал? Войдите на сайт, чтобы добавить его.

Глобальные

s фокусироваться на панели поиска
p открыть меню профиля
esc закрыть открытое окно
? открыть окно сочетаний клавиш

На страницах медиа

b назад (или выше, если применимо)
e перейти на страницу правки

На страницах сезонов

(стрелка вправо) перейти к следующему сезону
(стрелка влево) перейти к предыдущему сезону

На страницах эпизодов

(стрелка вправо) перейти к следующему эпизоду
(стрелка влево) перейти к предыдущему эпизоду

На всех страницах изображений

a открыть окно добавления изображения

На всех страницах правки

t открыть переключатель переводов
ctrl+ s отправить форму

На страницах обсуждения

n создать новое обсуждение
w сменить статус отслеживания
p публичное/приватное
c закрыть/открыть
a открыть страницу действий
r ответить в обсуждении
l перейти к последнему ответу
ctrl+ enter отправить своё сообщение
(стрелка вправо) следующая страница
(стрелка влево) предыдущая страница

Параметры

Хотите поставить оценку или добавить в список?

Войти