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
Can't find a movie or TV show? Login to create it.
Want to rate or add this item to a list?
Not a member?
Reply by Travis Bell
on January 26, 2021 at 10:12 AM
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.
Reply by AdityaBhattacharjee
on January 27, 2021 at 4:45 AM
@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.
Reply by ticao2 š§š· pt-BR
on January 27, 2021 at 6:27 AM
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
Reply by AdityaBhattacharjee
on January 27, 2021 at 6:54 AM
thank you so much!!!!!!!!!!!!