Runboard.com
You're welcome.
Welcome: You have reached Pastor Rick's Design Elements message board... Enjoy your stay and please tell others about this board...

Runboard Social       Sign up (learn about it) ● Sign in (lost password?)


 
Pastor Rick Profile
Live feed
Blog
Friends
Miscellaneous info

Head Administrator
Global user (premium)

Registered: 07-2005
Location: Texas
Posts: 529
Karma: 11 (+12/-1)
Reply ● Quote
Taming Avatar Sizes


There are a couple of options to do this. The first is to go to your boards Misc Options and check the box to auto resize the avatar then you put the size in the boxes for the avatar height and width. This makes all the avatars the same size but can make some of them distorted.

The second way simply puts a limit on the height and width of the avatar, resizing if required and the distortion factor is greatly reduced (in other words it will look nicer for most avatars used).

To achieve this in your CSS put:

/* AVATAR SIZE RESTRICTIONS */
.ak_msg_post_table img { max-height:200px; height: expression([sign in to see URL] > 200 ? 200: true); max-width:150px; width: expression([sign in to see URL] > 150 ? 150: true); margin-bottom: 1em;}

Then in you boards misc options uncheck the "force avatar resizing" box

Obviously you can change the avatar size setting in the CSS to fit your own boards design... The numbers I used for the example seem to be ideal for most boards though.

(credit to LG for the coding solution)

---

RSFRDAdvertise Boards On TRDREITB
8/18/2008, 6:00 am Link to this post Send Email to Pastor Rick   Send PM to Pastor Rick Blog
 


Add a reply





You are not logged in (login)