As designed Avatar file size permission does not work

Karelke

Well-known member
1) Set avatar file size to 102400 bytes (through user group permissions).
2) Analyze user permissions to make sure I have the correct value.

Screenshot from 2014-08-22 12:47:37.webp

3) Upload an avatar > 102400 bytes (I used 800 KB).
4) I expected to see an error popup with the message "photo size too large". Instead, the picture was successfully processed.
 
The large avatar version is 22 kb after processing.

I actually believed the user permission size was the upload limit?
 
Uploaded files are first resized based on the maximum physical dimensions (pixels). If the resized image is below the maximum file size (KB) limit, then it will be allowed.
 
If the resized image is below the maximum file size (KB) limit, then it will be allowed.

Just to be clear, this permission setting is not the raw upload limit, it just checks the file size after processing and throws a message in case it's to large?
 
Thanks for the insight.

In that case we are going to change the text a bit, the current one is a bit misleading.
 
Back
Top Bottom