From 7e035e823a37d9bfe8e9f574af5e0650a8f48a4c Mon Sep 17 00:00:00 2001 From: Adrian Castro <22133246+castdrian@users.noreply.github.com> Date: Fri, 8 Mar 2024 16:36:59 +0100 Subject: [PATCH] feat: higher poster quality --- apps/expo/src/components/item/ItemListSection.tsx | 8 ++++---- packages/tmdb/src/util.ts | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/apps/expo/src/components/item/ItemListSection.tsx b/apps/expo/src/components/item/ItemListSection.tsx index cf55ebb..9142778 100644 --- a/apps/expo/src/components/item/ItemListSection.tsx +++ b/apps/expo/src/components/item/ItemListSection.tsx @@ -9,7 +9,7 @@ export const bookmarks: ItemData[] = [ id: "219651", title: "Welcome to Samdal-ri", posterUrl: - "https://www.themoviedb.org/t/p/w185/98IvA2i0PsTY8CThoHByCKOEAjz.jpg", + "https://www.themoviedb.org/t/p/w500/98IvA2i0PsTY8CThoHByCKOEAjz.jpg", type: "tv", year: 2023, }, @@ -17,7 +17,7 @@ export const bookmarks: ItemData[] = [ id: "194797", title: "Doona!", posterUrl: - "https://www.themoviedb.org/t/p/w185/bQhiOkU3lCu5pwCqPdNVG5GBLlj.jpg", + "https://www.themoviedb.org/t/p/w500/bQhiOkU3lCu5pwCqPdNVG5GBLlj.jpg", type: "tv", year: 2023, }, @@ -28,7 +28,7 @@ export const watching: ItemData[] = [ id: "113268", title: "The Uncanny Counter", posterUrl: - "https://www.themoviedb.org/t/p/w185/tKU34QiJUfVipcuhAs5S3TdCpAF.jpg", + "https://www.themoviedb.org/t/p/w500/tKU34QiJUfVipcuhAs5S3TdCpAF.jpg", type: "tv", year: 2020, }, @@ -36,7 +36,7 @@ export const watching: ItemData[] = [ id: "203508", title: "Earth Arcade", posterUrl: - "https://www.themoviedb.org/t/p/w185/vBJ0uF0WlFcjr9obZZqE6GSsKoL.jpg", + "https://www.themoviedb.org/t/p/w500/vBJ0uF0WlFcjr9obZZqE6GSsKoL.jpg", type: "tv", year: 2022, }, diff --git a/packages/tmdb/src/util.ts b/packages/tmdb/src/util.ts index 9558c2f..8aa7de1 100644 --- a/packages/tmdb/src/util.ts +++ b/packages/tmdb/src/util.ts @@ -5,5 +5,5 @@ const TMDB_API_KEY = export const tmdb = new TMDB(TMDB_API_KEY); export function getMediaPoster(posterPath: string): string { - return `https://image.tmdb.org/t/p/w185/${posterPath}`; + return `https://image.tmdb.org/t/p/w500/${posterPath}`; }