PDA

View Full Version : Change Avatar Size for Postbit (Not Legacy)?


Dr. Bantham
10-26-2008, 12:06 PM
I have installed the Select Postbit (https://vborg.vbsupport.ru/showthread.php?t=193902) mod and like the ability to offer members a choice in post layout. However, since I have a larger maximum avatar size than is standard (150wx200h), the standard Postbit does not format as well as my default Postbit Legacy. Since I also feel that the standard (old) Postbit format might be more attractive to members with lower graphic resolution settings, I would like to reduce the height of the avatar and maintain proportionality - but only when viewing the (old) Postbit layout. Is there not a maximum height I can enforce within the code of the Postbit template, which will reduce the image size accordingly?

The suspect code:
<if condition="$show['avatar']"><td class="alt2"><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" $post[avwidth] $post[avheight] alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a></td></if>

turbo2liter
09-22-2010, 10:48 PM
Any solution for this?

Hell Bomb
09-24-2010, 03:28 PM
try adjusting the height and width in this line but only for the one postbit

<if condition="$show['avatar']"><td class="alt2"><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" width="150px" height="150px" alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a></td></if>