PDA

View Full Version : Avatar


interfx
03-25-2007, 05:06 PM
I'm working on the main forum page template (FORUMHOME), and am trying to have my user avatar to show, but keep getting a broken image...

Here's what I'm using...



<a href="$vboptions[bburl]/profile.php?do=editavatar">
<img src="$avatarurl" border="0" $avwidth $avheight alt="$vbphrase[edit_avatar]" />
</a>

Any ideas why I'm getting a broken image?

Thanks -

sinisterpain
03-25-2007, 09:08 PM
I'm working on the main forum page template (FORUMHOME), and am trying to have my user avatar to show, but keep getting a broken image...

Here's what I'm using...



<a href="$vboptions[bburl]/profile.php?do=editavatar">
<img src="$avatarurl" border="0" $avwidth $avheight alt="$vbphrase[edit_avatar]" />
</a>

Any ideas why I'm getting a broken image?

Thanks -
Not sure what your trying to do but I think you need to use this code if your editing a template
<if condition="$show['avatar']">
<td><img src="$userinfo[avatarurl]" $userinfo[avatarsize] alt="<phrase 1="$userinfo[username]">$vbphrase[xs_avatar]</phrase>" border="0" style="border:1px solid $stylevar[tborder_bgcolor]; border-top:none" /></td>