I am trying to load movie image on click but unable to do so. here is the id I have use
https://image.tmdb.org/t/p/w500/${data?.poster_path}
I have checked, the logic of {data?.poster_path}
is correct so what's the issue?
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 Ajinkya Bhoite
on July 28, 2024 at 7:43 PM
Here is the error I am getting,
Image size not supported
Reply by ticao2 š§š· pt-BR
on July 29, 2024 at 12:07 PM
The possible supported image sizes are specified here.
https://developer.themoviedb.org/reference/configuration-details
Your example shows the size w500.
What is causing the error is some other value in the URL, probably the value for {data?.poster_path}.
Note that the example below works correctly in your browser.
https://image.tmdb.org/t/p/w500/nP6RliHjxsz4irTKsxe8FRhKZYl.jpg
https://image.tmdb.org/t/p/original/nP6RliHjxsz4irTKsxe8FRhKZYl.jpg
Reply by Ajinkya Bhoite
on August 8, 2024 at 1:14 AM
issue fixed. thank you.