The Movie Database-ondersteuning

Hello, I am a new member of the TMDB community. I am currently building a Netflix clone. Can anyone help me with how to get these images rendered? I tried in every way possible and I am getting failed to load resource error. I have tried the image link as "https://image.tmdb.org/t/p/originals/".

EDIT: It's giving me 400 error now

4 antwoorden (op pagina 1 van 1)

Jump to last post

A full image URL needs the image path that you get from different items returned via methods like search, or discover. So when you get one of those paths, ie. /cDDb7WA2i7cENhkEEjXEDrXGyNL.jpg you can then assemble the full URL:

https://image.tmdb.org/t/p/original/cDDb7WA2i7cENhkEEjXEDrXGyNL.jpg

You can read the full documentation for this here.

@travisbell said:

A full image URL needs the image path that you get from different items returned via methods like search, or discover. So when you get one of those paths, ie. /cDDb7WA2i7cENhkEEjXEDrXGyNL.jpg you can then assemble the full URL:

https://image.tmdb.org/t/p/original/cDDb7WA2i7cENhkEEjXEDrXGyNL.jpg

You can read the full documentation for this here.

@travisbell I gave the image path or the poster path and it is giving me a 404 error and it's saying file not found on
https://image.tmdb.org/t/p/originals/cDDb7WA2i7cENhkEEjXEDrXGyNL.jpg/sgxawbFB5Vi5OkPWQLNfl3dvkNJ.jpg URL.

@AdityaBhattacharjee said:

@travisbell I gave the image path or the poster path and it is giving me a 404 error and it's saying file not found on

https://image.tmdb.org/t/p/originals/cDDb7WA2i7cENhkEEjXEDrXGyNL.jpg/sgxawbFB5Vi5OkPWQLNfl3dvkNJ.jpg

This URL of yours has 2 Path Posters placed.
In addition, the original parameter is in the plural.
It must be in the singular, without the ending S.
Experiment with 1 poster path at a time:

https://image.tmdb.org/t/p/original/cDDb7WA2i7cENhkEEjXEDrXGyNL.jpg
https://image.tmdb.org/t/p/original/sgxawbFB5Vi5OkPWQLNfl3dvkNJ.jpg

@ticao2 said:

@AdityaBhattacharjee said:

@travisbell I gave the image path or the poster path and it is giving me a 404 error and it's saying file not found on

https://image.tmdb.org/t/p/originals/cDDb7WA2i7cENhkEEjXEDrXGyNL.jpg/sgxawbFB5Vi5OkPWQLNfl3dvkNJ.jpg

This URL of yours has 2 Path Posters placed.
In addition, the original parameter is in the plural.
It must be in the singular, without the ending S.
Experiment with 1 poster path at a time:

https://image.tmdb.org/t/p/original/cDDb7WA2i7cENhkEEjXEDrXGyNL.jpg
https://image.tmdb.org/t/p/original/sgxawbFB5Vi5OkPWQLNfl3dvkNJ.jpg

thank you so much!!!!!!!!!!!!

Film of tv-serie niet gevonden? Log dan in om deze te creëren.

Wereldwijd

s focus op zoekbalk
p open profielmenu
esc sluit een open venster
? open sneltoetsen venster

Op media pagina's

b ga terug (of ga naar bovenliggend item)
e ga naar beweken

Op TV seizoenspagina's

(rechter pijl) ga naar volgende seizoen
(linker pijl) ga naar vorig seizoen

Op pagina's met TV-programma's

(rechter pijl) ga naar volgende aflevering
(linker pijl) ga naar vorige aflevering

Op alle afbeeldingspagina's

a open venster afbeelding toevoegen

Op alle bewerkte pagina's

t open vertaalmenu
ctrl+ s verstuur formulier

Op discussiepagina's

n start nieuwe discussie
w Verander kijk status
p privé of openbaar
c gesloten of open
a open activiteit
r beantwoord discussie
l ga naar laatste antwoord
ctrl+ enter verstuur uw bericht
(rechter pijl) volgende pagina
(linker pijl) vorige pagina

Instellingen

Want to rate or add this item to a list?

Inloggen