View Full Version : Avatar resize

07-16-2009, 01:13 AM
Hey, I added avatar to comments and it's working fine, but I can't figure out how to resize the avatar.

<if condition="$show['avatar']"><div style="float:$stylevar[left]; padding-$stylevar[right]:10px; padding-bottom:10px;"><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></div></if>

It's showing the default size, what do I have to do or add for it to resize the avatars to around 50 x50?

07-21-2009, 02:36 PM
You could add style="height: 50px; width: 50px;" as inline CSS to the IMG tag.