Taming Avatar Sizes ~ at Runboard.com
Welcome: You have reached Pastor Rick's Design Elements message board... The board dedicated to constructing NEW and unique skins and layouts using primarily RunBoard hosted graphic elements and helping others... Enjoy your stay and please tell others about this board...
Design Elements
 CLS & Everything Else
  Taming Avatar Sizes
Support  Search

runboard.com       Sign up (learn about it) | Sign in (lost password?)


 
Pastor Rick
Head Administrator
Global user (premium)

Registered: 07-2005
Location: Texas Country
Posts: 292
Karma: 4 (+4/-0)
Avatar
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(this.height > 200 ? 200: true); max-width:150px; width: expression(this.width > 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)

---
Image
·TNZ·DE·TRD·ITB·
8/18/2008, 6:00 am Send Email to Pastor Rick   Send PM to Pastor Rick MSN Blog
 


Add a reply






Powered by AkBBS 0.9.5b  -  Link to us   -  Blogs   -  Hall of Honour   -  Chat
Click here to get your own free message board
You are not logged in (login)      This Board's Date and Time: 11/24/2009, 4:49 am