Announcement

Collapse
No announcement yet.

Avatars not resizing

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Avatars not resizing

    I have my forums set to allow max avatar size of 100 by 100. However, people are uploading images much bigger than this limit. I'm not sure what to do.

    Here is an example: http://sscoasters.net/forum/showthre...6261#post56261
    http://www.bgtguide.com
    Busch Gardens Tampa Guide
    Forums: http://www.floridathrills.net

  • #2
    If Senior member is another usergroup you will have to set avatar permissions for that, also.

    Check all your usergroups.

    Comment


    • #3
      Avatars do not resize themselfts to begin with.

      Ontop of that you users are uploading bad gif files that have bad header data.

      I'd remove the avatar and tell the user not to do it again.

      Comment


      • #4
        Alright, thanks. But is there any reason it is not stopping people from uploading them?
        http://www.bgtguide.com
        Busch Gardens Tampa Guide
        Forums: http://www.floridathrills.net

        Comment


        • #5
          How do you have this setting in AdminCP?


          Allow Image Size Checking Failure
          On some servers, calls to getimagesize() to check image dimensions may fail for currently unknown reasons. If you are affected by this, you will want to set this option to 'Yes', otherwise you will not be able to upload images (avatars or attachments). However, users may be able to get around your image dimension limits!
          vBulletin v3.8.0's Implementation of Google Adsense Should Be Avoided At All Costs - Do Your Own Adsense Implementation

          Comment


          • #6
            Its actually a bug in php that they won't fix, or somthing along thoughs lines.

            The problem is that the GIF file has altered data to say its only an X by Y image, when its really an A by B sized image.

            Comment


            • #7
              The bug is fixed in the next version by forcing the image to be no larger than what the first header returns, which is what getimagesize() returns as the dimensions. The gif specification allows for multiple frames and each frame has its own dimension. getimagesize doesn't really take all of this information into account when determining the actual dimensions of the image.

              Comment

              widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
              Working...
              X