Avatar Upload Problem

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • KeithMcL
    Senior Member
    • Jun 2000
    • 621
    • 3.6.x

    Avatar Upload Problem

    I'm unable to add my avatar. It keeps saying the file is too big.

    The rules are that is has to be smaller than 64x64 pixels or 20000 bytes in size.

    It's 57x64 pixels and 4K in size and is in .gif format.

    Any ideas?

  • Steve Machol
    Former Customer Support Manager
    • Jul 2000
    • 154488

    #2
    Just an idea, but why don't you change the allowable limit to 65x65 and see if that works?
    Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
    Change CKEditor Colors to Match Style (for 4.1.4 and above)

    Steve Machol Photography


    Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


    Comment

    • Freddie Bingham
      Former vBulletin Developer
      • May 2000
      • 14057
      • 1.1.x

      #3
      Attach the avatar to this thread.

      Comment

      • KeithMcL
        Senior Member
        • Jun 2000
        • 621
        • 3.6.x

        #4
        OK, here it is:

        Comment

        • Freddie Bingham
          Former vBulletin Developer
          • May 2000
          • 14057
          • 1.1.x

          #5
          Are you sure you put in 20000 bytes and not 2000?

          Comment

          • KeithMcL
            Senior Member
            • Jun 2000
            • 621
            • 3.6.x

            #6
            Originally posted by freddie
            Are you sure you put in 20000 bytes and not 2000?
            I'm talking about on these forums. Are you?

            Comment

            • Mike Sullivan
              Former vBulletin Developer
              • Apr 2000
              • 13327
              • 3.6.x

              #7
              Which error message are you getting? Dimensions?

              Comment

              • KeithMcL
                Senior Member
                • Jun 2000
                • 621
                • 3.6.x

                #8
                "The file that you have tried to attach is too big. The maximum size is 20000 bytes." is the error.

                The avatar file is only 3774 bytes.

                Comment

                • Freddie Bingham
                  Former vBulletin Developer
                  • May 2000
                  • 14057
                  • 1.1.x

                  #9
                  Oh doh but your avatar works fine for me.

                  Comment

                  • Jordan
                    Senior Member
                    • Feb 2001
                    • 278

                    #10
                    Yeah, it works fine for me as well...
                    Jordan Gadd
                    Contact Information

                    Comment

                    • electrobase
                      New Member
                      • Jul 2001
                      • 29

                      #11
                      We are also running into this problem. Somehow, something is interpreting the 2 M limit in php.ini as 2 bytes. It doesn't matter what we set in vBulletin, it tells us we have exceeded the 2 byte limit.

                      Any ideas?
                      Brian Cole
                      Publisher, electrobase
                      __________________

                      visit electrobase, a comprehensive directory of electronics industry distributors, manufacturers representatives, and the lines they carry.

                      Comment

                      • BBInsider
                        Member
                        • Jul 2001
                        • 70

                        #12
                        I've been getting that from day one.

                        Comment

                        • electrobase
                          New Member
                          • Jul 2001
                          • 29

                          #13
                          We actually got this fixed on electrobase. (courtesy of my host, viaVerio.com): the php.ini has a limit of 2 M - PHP (or vBulletin) interprets this as 2 bytes, and ignores the M. If you want 50K, change the value in php.ini to 50,000 (I think without the comma). We were being thrown off because there is like a 24 hour delay between changing the value in php.ini on our site, and the change taking effect - but it does eventually take effect.

                          short summation: ignore the M in php.ini, and input the total bytes desired (i.e. 50000000 for 50 M)

                          I have read enough posts about this, that it seems this should be documented or fixed.
                          Brian Cole
                          Publisher, electrobase
                          __________________

                          visit electrobase, a comprehensive directory of electronics industry distributors, manufacturers representatives, and the lines they carry.

                          Comment

                          • JamesUS
                            Senior Member
                            • Aug 2000
                            • 4622

                            #14
                            vBulletin doesn't even look at the limit in php.ini. All we use is the limit in the control panel.

                            If the php.ini limit was the problem, you'd be getting PHP errors rather than vB ones. Perhaps it was just coincidence?

                            Comment

                            • BBInsider
                              Member
                              • Jul 2001
                              • 70

                              #15
                              James, if it happens to more then one board, I seen a few posts about this, I would think its a small bug...? no?

                              Comment

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