I'm using the API on my latest website and i use the posters with a small width and height but with the BIGGEST aspect ratio so it's loading 16-20 seconds Per Row slower because of this So if anyone can help ASAP
Nemůžete nalézt film nebo seriál? Přihlaste se pro jeho vytvoření.
Want to rate or add this item to a list?
Not a member?
Odpověď od r3D
04.01.2021 v 10:01 DOP.
If I understand correctly, you need smaller image files?
Is it possible to use the default link paths that are already provided by Themoviedb in converted form?
The
/configuration
endpoint can list all available sizes.Odpověď od ticao2 🇧🇷 pt-BR
04.01.2021 v 10:48 DOP.
See here: https://developers.themoviedb.org/3/configuration/get-api-configuration
Some older ones may still work. But they can die at any time.
The Aspect Ratio cannot be specified or modified in the URL for the TMDb Server.
Only the size in pixels.
These are official sizes:
Example with the same poster_path: /qDA95ebiy3W3m8hTRB3xZNZVVBM.jpg
https://image.tmdb.org/t/p/w92/qDA95ebiy3W3m8hTRB3xZNZVVBM.jpg
https://image.tmdb.org/t/p/w154/qDA95ebiy3W3m8hTRB3xZNZVVBM.jpg
https://image.tmdb.org/t/p/w185/qDA95ebiy3W3m8hTRB3xZNZVVBM.jpg
https://image.tmdb.org/t/p/w342/qDA95ebiy3W3m8hTRB3xZNZVVBM.jpg
https://image.tmdb.org/t/p/w500/qDA95ebiy3W3m8hTRB3xZNZVVBM.jpg
https://image.tmdb.org/t/p/w780/qDA95ebiy3W3m8hTRB3xZNZVVBM.jpg
https://image.tmdb.org/t/p/original/qDA95ebiy3W3m8hTRB3xZNZVVBM.jpg