Log in

View Full Version : how do i add the profile picture in the usercp?


ryans
07-09-2006, 03:58 PM
I added the code to the usercp but it won't show the image. Any help would be greatly appreciated.

Paul M
07-09-2006, 05:28 PM
What exactly do you mean by "added the code" ?

ryans
07-09-2006, 05:33 PM
<if condition="$show['profilepic']">
<tr><td align="center" valign="top">
<img src="$userinfo[profilepicurl]" $userinfo[profilepicsize] alt="$userinfo[username]"
border="0" style="border:1px solid $stylevar[tborder_bgcolor]" /><center>Main Profile Picture</center> <else /><img src="/boards/images/misc/no_pic.jpg" alt="$userinfo[username]" border="0" style="border:1px solid $stylevar[tborder_bgcolor];" /><center>Main Profile Picture</center>
</td></tr>
</if>