Hi am trying to get movies images using the link https://image.tmdb.org/t/p/original/ by passing the path of the movie
this is the base_url=" https://image.tmdb.org/t/p/original/"
and this is the image tag am using
but when i run the app it gives me zzWGRw277MNoCs3zhyG3YmYQsXv.jpg:1
GET https://image.tmdb.org/t/p/original/%20/zzWGRw277MNoCs3zhyG3YmYQsXv.jpg 404
Не можете найти фильм или сериал? Войдите на сайт, чтобы добавить его.
Хотите поставить оценку или добавить в список?
Нет аккаунта?
Ответ от ticao2 🇧🇷 pt-BR
, 14 сентября 2020 в 12:58
Compare your URL (1) to the one that works correctly (2):
In your URL there is this string that is generating the error: %20/
It refers to an additional " Space + Slash ".
Ответ от H_A
, 14 сентября 2020 в 13:35
ok thanks it worked
Ответ от vidhatenikhil954
, 22 августа 2022 в 10:47
Hi am trying to get movies images using the link https://image.tmdb.org/t/p/original/ by passing the path of the movie
this is the base_url=" https://image.tmdb.org/t/p/original/"
and this is the image tag am using
but when i run the app it gives me zzWGRw277MNoCs3zhyG3YmYQsXv.jpg:1 GET https://image.tmdb.org/t/p/original/%20/zzWGRw277MNoCs3zhyG3YmYQsXv.jpg 404
Ответ от Travis Bell
, 23 августа 2022 в 11:35
Just like the above example, you have an extra encoded space in your URL. Compare these two URLs:
The second one is correct, the first one is not.
Ответ от Programmer_Online
, 18 октября 2022 в 04:26
Thank You Travis!
Ответ от JayakrishnansKumar
, 7 ноября 2022 в 02:32
Hi am trying to get movies images using the link https://image.tmdb.org/t/p/original/ by passing the path of the movie this is the base_url=" https://image.tmdb.org/t/p/original/" and this is the image tag am using. When i looked in the inspected that i get original undefined. error 404. but that time i do get the images , But after i hosted the page, im not able to view any images. can i get some help!
Ответ от Travis Bell
, 7 ноября 2022 в 13:10
@JayakrishnansKumar What's a full and complete URL that is 404'ing?
Ответ от Belete
, 9 декабря 2023 в 07:18
https://image.tmdb.org/t/p/original/
Ответ от ticao2 🇧🇷 pt-BR
, 9 декабря 2023 в 08:53
I don't know if that's what you're asking for, but ...
When an API Request is made, in the responses received you will find the Path of the images:
poster_path or backdrop_path or profile_path or logo_path or still_path.
Something like that:
To access/download the image use the basic images URL.
The request should be similar to these:
https://image.tmdb.org/t/p/original/wigZBAmNrIhxp2FNGOROUAeHvdh.jpg
Make sure to read the documentation around images.
https://developer.themoviedb.org/docs/image-basics
https://developer.themoviedb.org/reference/configuration-details
Image Sizes