Big avatars style

This commit is contained in:
SillyLossy
2023-04-01 01:59:43 +03:00
parent 2a03e7879d
commit a82c9af78e
4 changed files with 104 additions and 11 deletions

View File

@@ -1702,7 +1702,7 @@ async function generateThumbnail(type, file) {
return null;
}
const imageSizes = { 'bg': [160, 90], 'avatar': [96, 96] };
const imageSizes = { 'bg': [160, 90], 'avatar': [96, 144] };
const mySize = imageSizes[type];
const image = await jimp.read(pathToOriginalFile);