make banners 1600 instead of 1200

master
Aevann 2023-10-27 16:17:38 +03:00
parent 986169d9f2
commit 61df77fc83
2 changed files with 2 additions and 2 deletions

View File

@ -207,7 +207,7 @@ def comment(v):
if post_target.id == SIDEBAR_THREAD:
process_sidebar_or_banner('sidebar', 400)
elif post_target.id == BANNER_THREAD:
banner_width = 1200
banner_width = 1600
process_sidebar_or_banner('banners', banner_width)
elif post_target.id == BADGE_THREAD:
try:

View File

@ -521,7 +521,7 @@ def upload_hole_banner(v, hole):
name = f'/images/{time.time()}'.replace('.','') + '.webp'
file.save(name)
bannerurl = process_image(name, v, resize=1200)
bannerurl = process_image(name, v, resize=1600)
hole.bannerurls.append(bannerurl)