request thumbnail instead of custom size

This commit is contained in:
2023-03-13 22:09:57 +10:00
parent dd5ac3a2b4
commit 630418cf02

View File

@@ -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();