From 630418cf0270a15dfba1220da9747146851091bf Mon Sep 17 00:00:00 2001 From: James Collins Date: Mon, 13 Mar 2023 22:09:57 +1000 Subject: [PATCH] request thumbnail instead of custom size --- resources/js/helpers/image.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/js/helpers/image.ts b/resources/js/helpers/image.ts index b1f264e..afe62f4 100644 --- a/resources/js/helpers/image.ts +++ b/resources/js/helpers/image.ts @@ -5,7 +5,7 @@ type ImageLoadCallback = (url: string) => void; export const imageLoad = ( url: string, callback: ImageLoadCallback, - postfix = "h=50" + postfix = "size=thumb" ) => { callback(`${url}?${postfix}`); const tmp = new Image();