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 的回复
于 2020 年 09 月 14 日 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 的回复
于 2020 年 09 月 14 日 1:35下午
ok thanks it worked
vidhatenikhil954 的回复
于 2022 年 08 月 22 日 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 的回复
于 2022 年 08 月 23 日 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 的回复
于 2022 年 10 月 18 日 4:26上午
Thank You Travis!
JayakrishnansKumar 的回复
于 2022 年 11 月 07 日 2: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 的回复
于 2022 年 11 月 07 日 1:10下午
@JayakrishnansKumar What's a full and complete URL that is 404'ing?
Belete 的回复
于 2023 年 12 月 09 日 7:18上午
https://image.tmdb.org/t/p/original/
ticao2 🇧🇷 pt-BR 的回复
于 2023 年 12 月 09 日 8: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