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

Not a Bug Avatar File Size Miscalculation

Discussion in 'Resolved Bug Reports' started by mjda, Feb 28, 2015.

  1. mjda

    mjda Active Member

    I'm not sure what's causing it, but when I try to update my avatar I'm unable to use an image that is 200x200 and 21.1KB because "The following error occurred: Your avatar's file size is too large. Please upload an avatar no bigger than 40 KB.".

    I've uploaded the image I'm trying to use here, as an attachment.

  2. Brogan

    Brogan XenForo Moderator Staff Member

    Once the image has been processed, the final size is 61.5KB.
    This is due to how the image processing works when it is resized.

    If the image is resized to 192px x 192px and then uploaded as an avatar, the file size will remain unchanged at ~ 20KB, as no processing occurs.
  3. mjda

    mjda Active Member

    Then perhaps there is a bug in that when I upload an avatar I'm told "It is recommended that you use an image that is at least 200x200 pixels.". I did exactly what I was recommended to do, and it failed. How is the average user supposed to know how image processing works and make sure their image is uploaded according to that, when they're told to upload one that is at least 200x200 pixels?
    Gladius and semprot like this.
  4. creativeforge

    creativeforge Active Member

    Hi mjda, did you find the answer to your question?
  5. mjda

    mjda Active Member

    Yeah, the answer (at least for me) was increase the maximum avatar file size so members won't have this problem.
    creativeforge likes this.

Share This Page