Author Topic: Avatar Size  (Read 2322 times)

0 Members and 1 Guest are viewing this topic.

Offline VirtualStranger

  • Blinded with Science
  • The Beast
  • *****
  • Posts: 946
  • Gender: Male
Avatar Size
« on: May 09, 2012, 12:28:12 am »
Can we change the maximum size of avatars to 190 pixels wide? The current maximum is 200, but that's slightly larger than the user info box on the left side of the posts and it creates a scroll bar on the bottom of avatars.
« Last Edit: May 09, 2012, 12:45:32 am by VirtualStranger »

Offline StallChaser

  • Pope
  • ****
  • Posts: 476
  • (Haseen on the old board)
Re: Avatar Size
« Reply #1 on: May 10, 2012, 07:13:46 am »
For me, it cuts off the right side of the picture, but it probably depends on the web browser whether there's a scrollbar.  Anyways, I'd rather see a slightly wider user info box than have to resize the image.

Offline N. De Plume

  • Mysterious Writing Implement
  • The Beast
  • *****
  • Posts: 1936
  • Gender: Male
  • Nom, nom, nom…
Re: Avatar Size
« Reply #2 on: May 10, 2012, 07:49:12 am »
I am not sure if it applies to all the themes or not, but I do see the problem on TotalBlue and IceCube (I don’t have time to try them all out.)

On both these themes, part of the problem actually stems from the fact that all the board measurements seem to be specified in ems, which is a unit based on the text size being used by the browser. Ems are really great for making a layout that adapts to a user’s browser settings, but they suck when applied to the fixed pixel dimensions of images. For instance, I must use a smaller default text size than Virtual Stranger, because Firebug tells me I only have room for a 153 pixel wide avatar.

So as you can see, simply changing the width of accepted avatars won’t necessarily fix the problem. Not without making the accepted avatars much, much smaller anyways. Now, if one does not want to eliminate the em-based measurements, there are two fixes that spring to mind. They are both armchair webmaster type things, though, so feel free to ignore them.

(click to show/hide)

On a side note, Firefox does not display scrollbars on these elements. It just clips them. Which I kinda find annoying in other “overflow: auto” contexts, personally. Some sites kinda depend on the scrollbars being there to make all the overflow content visible. But in this case, the scrollbar-less clipping is actually preferable.
« Last Edit: May 10, 2012, 07:58:46 am by N. De Plume »
-A Pen Name