PDA

View Full Version : trouble getting profile field images to show in posbit legacy


j_lorence
04-16-2004, 10:35 PM
Whenever I update the contents of a profile field in the admin CP, instead of the image showing, the img coding for it shows up instead. I tried using <if condition="$post[field30]">$post[field30]</if> and I've also tried $post[field30] by itself but neither seem to work.

Zachery
04-17-2004, 12:24 AM
Youll need to have it more like

<if condition="$post[field30]"><img src="$post[field30]" alt="" /></if>

vB strips HTML characters for secutiry reasons

j_lorence
04-17-2004, 01:07 AM
Is there any way to unstrip HTML in vb3?

Tony G
04-17-2004, 06:59 AM
Why do that? Just use an img tag in the code (like zachery posted), and you won't have to.

Zachery
04-17-2004, 07:00 AM
unstriping html caracters is a high secutiry risk and can only be done by hacking.