-
Notifications
You must be signed in to change notification settings - Fork 331
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
Explain how "Uploaded image is too large!" in avatar upload #2372
Comments
That error message comes from pictrs error cc @asonix Can pictrs return more specific errors in this case? |
pict-rs is more specific for errors like this, and I'm actually having trouble figuring out where the |
The only place I found this string is in the lemmy-ui code, and its expecting pictrs to respond with such a message. |
This is most likely a lemmy-UI issue then. I'll transfer it. |
Requirements
Is your proposal related to a problem?
When uploading an avatar that is too large an error appears
Uploaded image is too large!
but doesn't tell the user what about their image is too large. Is it the width, height or size on kB?Describe the solution you'd like.
Explain to the user which aspect of their image is too large in the popup e.g.
Image is above 1MB size limit
Image is too wide, maximum width 500px
Image is too tall, maximum height 500px
Describe alternatives you've considered.
Alternatively specify these limits on the page under the Avatar section in Settings.
Additional context
No response
The text was updated successfully, but these errors were encountered: