From e45fd63d6488199fb7b6dab2abef58b952c8105b Mon Sep 17 00:00:00 2001 From: Aevann Date: Fri, 23 Dec 2022 02:47:01 +0200 Subject: [PATCH] do this https://watchpeopledie.tv/h/aftermath/post/17441/horribly-mangled-corpse-after-traffic-accident/344509 --- files/routes/posts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/posts.py b/files/routes/posts.py index a660a84473..31aeae1b1e 100644 --- a/files/routes/posts.py +++ b/files/routes/posts.py @@ -745,7 +745,7 @@ def submit_post(v:User, sub=None): name2 = name.replace('.webp', 'r.webp') copyfile(name, name2) - post.thumburl = process_image(name2, v, resize=100) + post.thumburl = process_image(name2, v, resize=500) elif file.content_type.startswith('video/'): post.url = process_video(file, v) name = f'/images/{time.time()}'.replace('.','') + '.webp'