Change default thumbnail size

Change text color in the upload panel
This commit is contained in:
Michał Gdula 2023-04-03 17:28:28 +00:00
parent ad547c4ccf
commit 33f475e828
5 changed files with 7 additions and 16 deletions

View file

@ -37,7 +37,7 @@ def generate_thumbnail(file_name, resolution, ext=None):
if resolution in ['prev', 'preview']:
res_x, res_y = (1920, 1080)
elif resolution in ['thumb', 'thumbnail']:
res_x, res_y = (400, 400)
res_x, res_y = (350, 350)
elif resolution in ['icon', 'favicon']:
res_x, res_y = (10, 10)
elif len(resolution.split('x')) == 2: