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?
لم تجد الفلم أو المسلسل ؟ سجل دخولك و انشئها
هل تريد تقييم او اضافة هذا العنصر للقائمة؟
لست عضو؟
رد بواسطة Ajinkya Bhoite
بتاريخ يوليو 28, 2024 في 7:43 مساءا
Here is the error I am getting,
Image size not supported
رد بواسطة ticao2 🇧🇷 pt-BR
بتاريخ يوليو 29, 2024 في 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
رد بواسطة Ajinkya Bhoite
بتاريخ أغسطس 8, 2024 في 1:14 صباحا
issue fixed. thank you.