Skip to content

Inform the user about maximum profile picture size. #26390

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
ironveil opened this issue Aug 8, 2023 · 1 comment · Fixed by #26935
Closed

Inform the user about maximum profile picture size. #26390

ironveil opened this issue Aug 8, 2023 · 1 comment · Fixed by #26935
Labels
type/proposal The new feature has not been accepted yet but needs to be discussed first.

Comments

@ironveil
Copy link

ironveil commented Aug 8, 2023

Feature Description

I noticed that when you try and set a profile picture that is too big, it comes up with a warning about how it is too big. However, it doesn't actually say how big the maximum file size can be. Is there a way to add the maximum file size onto the prompt?

Screenshots

image

@ironveil ironveil added the type/proposal The new feature has not been accepted yet but needs to be discussed first. label Aug 8, 2023
@lng2020
Copy link
Member

lng2020 commented Sep 6, 2023

Actually, you can config this one, see

- `AVATAR_MAX_FILE_SIZE`: **1048576** (1MiB): Maximum avatar image file size in bytes.

An example here
;AVATAR_MAX_FILE_SIZE = 1048576

But I agree that the maximum profile picture size should be informed

silverwind added a commit that referenced this issue Sep 7, 2023
Fix #26390

---------

Co-authored-by: delvh <[email protected]>
Co-authored-by: wxiaoguang <[email protected]>
Co-authored-by: Giteabot <[email protected]>
Co-authored-by: silverwind <[email protected]>
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 23, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type/proposal The new feature has not been accepted yet but needs to be discussed first.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants