Code:
<if condition=$show[profilepic]">
<img src="$userinfo[profilepicurl]" height="150" width="150" />
<else />
<img src="http://xxxx.com/images/default.gif">
</if>
My <if> Conditional is incorrect, what i am trying to do is show a default pic if the user has not uploaded a pic. Can someone please correct me on what is wrong?
I am certain it is my <if> conditional because if i take it out the profile pic shows as suppose to, but the current code shows both the pic and default pic.