1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

As Designed Avatar file size permission does not work

Discussion in 'Resolved Bug Reports' started by Karelke, Aug 22, 2014.

  1. Karelke

    Karelke Active 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.png

    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.
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

    What is the file size after processing?
     
  3. Karelke

    Karelke Active Member

    The large avatar version is 22 kb after processing.

    I actually believed the user permission size was the upload limit?
     
  4. Brogan

    Brogan XenForo Moderator Staff Member

    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.
     
  5. Karelke

    Karelke Active Member

    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?
     
  6. Brogan

    Brogan XenForo Moderator Staff Member

    The limit applies to the post-processed file.
     
  7. Karelke

    Karelke Active Member

    Thanks for the insight.

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

Share This Page