I use the following to display a movie poster in render method:
const base_url = "https://image.tmbd.org/t/p/original/";
function VideoCard({ movie }) {
return (
<div className="videoCard">
<img src={`${base_url}${movie.backdrop_path || movie.poster_path}`} alt="movie poster"/>
It throws 2 errors: Failed to load resource: ERR_CONNECTION_CLOSED and 404 Not Found.
Could you help figuring out why it's not working properly.
Fılmdi nemese kórsetimdi taba almadyńyz ba? Ony jasaý úshin kirińiz.
Want to rate or add this item to a list?
Not a member?
enelbbs9@gmail.com jaýaby
2021 Mamyr 5 kúni 3:40 PM ýaqytynda
Has your base_url changed?
ticao2 🇧🇷 pt-BR jaýaby
2021 Mamyr 5 kúni 6:04 PM ýaqytynda
No, the Base URL has not changed.
https://image.tmdb.org/t/p/original/8UlWHLMpgZm9bx6QYh0NFoq67TZ.jpg
Perhaps the poster you are looking for has been deleted.