Observed behaviour
After looking into changing Avatar Max Size, I realized that changing the value doesn't take effect.
The limit can be changed in the admin page -> Limit Config -> Files & Attachments -> Avatar Max Size.
During investigating the typeScript code responsible for the max size, I stumbled upon a fix value for the Avatar Max Size.
Reproduction steps
- Selfhost Fluxer
- Change the Avatar Max Size in the admin page to a higher value than the default (10 MB)
- Create a User
- Upload a Avatar bigger that the default size limit (10 MB)
Build information
Stable Web 2026.816.210712, Windows NT 10.0 (x64), Chrome 151.0.0.0, Locale en-US
Platform
Self-hosting

2 comments
Comment by @KeckigerKeks
fluxer_app/src/features/user/components/modals/tabs/my_profile_tab/AvatarUploader.tsxandLine 177it checks for file sizes over 10 MB:if (file.size > 10 * 1024 * 1024) {Comment by ternera
I18nDisplayConstants.ts. Even if you increase the limit to 20MB (for example) and upload a 30MB image, it still says to choose a file smaller than 10MB. However, when I increased the limit to 100MB and uploaded a 30MB file, it worked fine.