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?
¿No encuentras una película o serie? Inicia sesión para crearla:
¿Quieres puntuar o añadir este elemento a una lista?
¿No eres miembro?
Contestado por Ajinkya Bhoite
el 28 de julio de 2024 a las 19:43
Here is the error I am getting,
Image size not supported
Contestado por ticao2 🇧🇷 pt-BR
el 29 de julio de 2024 a las 12:07
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
Contestado por Ajinkya Bhoite
el 8 de agosto de 2024 a las 01:14
issue fixed. thank you.