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
Не можеш да нађеш филм или серију? Пријави се да додаш.
Желите ли да оцените или додате ову ставку у листу?
Нисте члан?
Одговор од Travis Bell
дана 26. јануар 2021. у 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.
Одговор од AdityaBhattacharjee
дана 27. јануар 2021. у 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.
Одговор од ticao2 🇧🇷 pt-BR
дана 27. јануар 2021. у 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
Одговор од AdityaBhattacharjee
дана 27. јануар 2021. у 6:54 AM
thank you so much!!!!!!!!!!!!