Author Topic: Profile Picture?  (Read 2028 times)

ElimiNator

  • Airship
  • ********
  • Posts: 3,390
  • The MegaGlest Moder.
    • View Profile
Profile Picture?
« on: 4 October 2013, 19:19:45 »
I tried to change my profile picture to an 128x130 PNG image, but I got this error:

The following errors occurred when trying to save your profile:
The avatar you have selected is either too large or not an avatar.

I tried bigger images and it said the same thing, what is wrong?
Get the Vbros': Packs 1, 2, 3, 4, and 5!

GunChleoc

  • Horseman
  • ****
  • Posts: 202
    • View Profile
    • Fòram na Gàidhlig
Re: Profile Picture?
« Reply #1 on: 4 October 2013, 19:34:56 »
Try a smaller image.

ElimiNator

  • Airship
  • ********
  • Posts: 3,390
  • The MegaGlest Moder.
    • View Profile
Re: Profile Picture?
« Reply #2 on: 4 October 2013, 19:37:39 »
Any smaller then it won't be legible...
Get the Vbros': Packs 1, 2, 3, 4, and 5!

GunChleoc

  • Horseman
  • ****
  • Posts: 202
    • View Profile
    • Fòram na Gàidhlig
Re: Profile Picture?
« Reply #3 on: 4 October 2013, 20:56:08 »
I'm not an admin and I can't check the settings, but looking at existing avatars, anything below 100x100 should be fine.

ElimiNator

  • Airship
  • ********
  • Posts: 3,390
  • The MegaGlest Moder.
    • View Profile
Re: Profile Picture?
« Reply #4 on: 4 October 2013, 21:25:29 »
What! That should be changed!
Get the Vbros': Packs 1, 2, 3, 4, and 5!

Omega

  • MegaGlest Team
  • Dragon
  • ********
  • Posts: 6,167
  • Professional bug writer
    • View Profile
    • Personal site
Re: Profile Picture?
« Reply #5 on: 4 October 2013, 22:13:22 »
What! That should be changed!
Why? It's an avatar. It adds almost nothing but a tiny bit of personality. Don't need hundreds of massive avatars to slow down load times. Avatars are already one of the weakest links.

The maximum avatar size is currently 100 x 100.
« Last Edit: 4 October 2013, 22:20:08 by Omega »
Edit the MegaGlest wiki: http://docs.megaglest.org/

My personal projects: http://github.com/KatrinaHoffert

ElimiNator

  • Airship
  • ********
  • Posts: 3,390
  • The MegaGlest Moder.
    • View Profile
Re: Profile Picture?
« Reply #6 on: 4 October 2013, 22:25:08 »
It takes about one second to load a 1000x1000 avatar, I think it should al least tell you the max size on the profile page if it gong to have such a small limit.

Also the error should say:

The avatar you have selected is either larger than 100x100 or not an avatar.
Get the Vbros': Packs 1, 2, 3, 4, and 5!

Omega

  • MegaGlest Team
  • Dragon
  • ********
  • Posts: 6,167
  • Professional bug writer
    • View Profile
    • Personal site
Re: Profile Picture?
« Reply #7 on: 5 October 2013, 07:20:53 »
It takes about one second to load a 1000x1000 avatar, I think it should al least tell you the max size on the profile page if it gong to have such a small limit.
Please note that this applies to your internet, but not everyone elses. However, as a PNG, a 1000 x 1000 image would likely be over 1 MB. On an 8 Mbps connection (pretty common in my area), it would take at least a second to download. In reality, internet speeds rarely hit their limit, so we can expect at *least* one second to download this image. Then there's up to 19 other user avatars on the same page. Even more, most of the time for a fairly fast connection will be in the request, not the download. For example, for my fairly fast connection, there's approximately a 150 ms delay on pretty much every request because the server "handshake" with my web browser.

While this isn't a big deal compared to the incredibly slow page loading (about two seconds for the server to create the main forum page), I don't see any real need to extend it for something as trivial as avatars.

Also the error should say:

The avatar you have selected is either larger than 100x100 or not an avatar.
It's an SMF error.
Edit the MegaGlest wiki: http://docs.megaglest.org/

My personal projects: http://github.com/KatrinaHoffert

GunChleoc

  • Horseman
  • ****
  • Posts: 202
    • View Profile
    • Fòram na Gàidhlig
Re: Profile Picture?
« Reply #8 on: 6 October 2013, 08:45:45 »
A 1000x1000 avatar would also be bigger than my screen. What would you do with such a big image, since it wouldn't make any sense displaying it with its originial size anyway? :look:

ElimiNator

  • Airship
  • ********
  • Posts: 3,390
  • The MegaGlest Moder.
    • View Profile
Re: Profile Picture?
« Reply #9 on: 6 October 2013, 16:39:19 »
What? bigger than your screen, I don't think so...

I just thought it should be bigger because no one usually makes stuff that low-res, at the very least it should tell you the max size.
Get the Vbros': Packs 1, 2, 3, 4, and 5!

GunChleoc

  • Horseman
  • ****
  • Posts: 202
    • View Profile
    • Fòram na Gàidhlig
Re: Profile Picture?
« Reply #10 on: 6 October 2013, 20:48:04 »
My native screen resolution is 1366 x 768. Rare in a gamer forum, I know  :P

I still don' know what you would want with a hi res avatar though, since it would then either take up more space than the posts, or be downscaled anyway. SMF should redesign their error message though, I'm with you on that. That's nothing Omega can change though.

ElimiNator

  • Airship
  • ********
  • Posts: 3,390
  • The MegaGlest Moder.
    • View Profile
Re: Profile Picture?
« Reply #11 on: 6 October 2013, 21:14:53 »
Yes he can, it can say max resolution is 100x100 where you click the upload button.
Get the Vbros': Packs 1, 2, 3, 4, and 5!

GunChleoc

  • Horseman
  • ****
  • Posts: 202
    • View Profile
    • Fòram na Gàidhlig
Re: Profile Picture?
« Reply #12 on: 7 October 2013, 10:22:20 »
Why don't you file a bug report with SMF? This way everybody will benefit, not just us :)

ElimiNator

  • Airship
  • ********
  • Posts: 3,390
  • The MegaGlest Moder.
    • View Profile
Re: Profile Picture?
« Reply #13 on: 7 October 2013, 15:21:38 »
 ::) That error is probably a global one that will be displayed if the max size is 2560x2560, or just 5M
Get the Vbros': Packs 1, 2, 3, 4, and 5!

 

anything