From f972ecb41c98c88aa58e9898387380bd129b8f79 Mon Sep 17 00:00:00 2001 From: WardPearce Date: Mon, 16 Sep 2024 00:53:44 +1200 Subject: [PATCH] Update thumbnail to use lower quality --- materialious/src/lib/Thumbnail.svelte | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/materialious/src/lib/Thumbnail.svelte b/materialious/src/lib/Thumbnail.svelte index 233e0ee8..7376a260 100644 --- a/materialious/src/lib/Thumbnail.svelte +++ b/materialious/src/lib/Thumbnail.svelte @@ -85,7 +85,9 @@ async function loadAuthor() { const channel = await getChannel(video.authorId); - const imgResp = await fetch(proxyGoogleImage(getBestThumbnail(channel.authorThumbnails))); + const imgResp = await fetch( + proxyGoogleImage(getBestThumbnail(channel.authorThumbnails, 75, 75)) + ); authorImg = URL.createObjectURL(await imgResp.blob()); }