request thumbnail instead of custom size
This commit is contained in:
@@ -5,7 +5,7 @@ type ImageLoadCallback = (url: string) => void;
|
|||||||
export const imageLoad = (
|
export const imageLoad = (
|
||||||
url: string,
|
url: string,
|
||||||
callback: ImageLoadCallback,
|
callback: ImageLoadCallback,
|
||||||
postfix = "h=50"
|
postfix = "size=thumb"
|
||||||
) => {
|
) => {
|
||||||
callback(`${url}?${postfix}`);
|
callback(`${url}?${postfix}`);
|
||||||
const tmp = new Image();
|
const tmp = new Image();
|
||||||
|
|||||||
Reference in New Issue
Block a user