mirror of
https://github.com/rr-/szurubooru.git
synced 2025-07-17 08:26:24 +00:00
server/users: disable transparency and seeking on user avatars
This commit is contained in:
@ -311,6 +311,8 @@ def update_user_avatar(
|
||||
image.resize_fill(
|
||||
int(config.config["thumbnails"]["avatar_width"]),
|
||||
int(config.config["thumbnails"]["avatar_height"]),
|
||||
keep_transparency=False,
|
||||
seek=False,
|
||||
)
|
||||
files.save(avatar_path, image.to_png())
|
||||
else:
|
||||
|
Reference in New Issue
Block a user