mirror of
https://github.com/Derpy-Leggies/OnlyLegs.git
synced 2025-06-29 03:26:16 +00:00
Change default thumbnail size
Change text color in the upload panel
This commit is contained in:
parent
ad547c4ccf
commit
33f475e828
5 changed files with 7 additions and 16 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue