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>
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>