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 发送信息
(右箭头)下一页
(左箭头)前一页

设置

想给这个条目评分或将其添加到片单中?

登录

还不是会员?

注册加入社区