Sprijin Bază de date filme (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 răspunsuri (pe pagina 1 din 2)

Jump to last post

Pagina următoareUltima pagină

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.

Nu găsiți un film sau un serial? Autentificați-vă pentru a-l crea.

Globale

s focalizează bara de căutare
p deschide meniul profilului
esc închide o fereastră deschisă
? deschide fereastra cu scurtături de la tastatură

Pe paginile media

b mergi înapoi (sau la părinte atunci când este cazul)
e mergi la pagina de editare

Pe paginile sezoanelor filmelor seriale

(săgeată dreapta) mergi la sezonul următor
(săgeată stânga) mergi la sezonul precedent

Pe paginile episoadelor filmelor seriale

(săgeată dreapta) mergi la episodul următor
(săgeată stânga) mergi la episodul precedent

Pe toate paginile de imagini

a deschide fereastra pentru adăugarea de imagini

Pe toate paginile de editare

t deschide selectorul de traduceri
ctrl+ s trimite formularul

Pe paginile de discuții

n crează o discuție nouă
w comută starea de vizionare
p comută publică/privată
c comută închisă/deschisă
a deschide activitatea
r răspunde la discuție
l mergi la ultimul răspuns
ctrl+ enter trimite mesajul
(săgeată dreapta) pagina următoare
(săgeată stânga) pagina precedentă

Setări

Doriți să evaluați sau să adăugați acest articol într-o listă?

Autentificare