Resize profile pictures upon upload

One-sentence description

Resize profile pictures upon upload

Why?

Because it is not necessary to keep profile pictures in their original size. Just like the pictures in the photos app, it should be enough to store them in 1920x1080 resolution.

Current implementation

Uploaded pictures are immediately stored on the site.

Desired implementation

Uploaded pictures that are too large are resized to a smaller resolution when the picture is uploaded.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information