PDA

View Full Version : link an image on postbit


acabmg
22 Jul 2010, 04:13
Hi:)
an advance: I have used the google translator to write about this - I hope that you understand it anyway ;)

i would like to link an image on the postbit. the link is created from a user profile field. I have tried this with this code:

<vb:if condition="$post['field18']">
<a href="['field18']" target="_blank"><img src="images/wowdata/arsenal.png" title="Arsenallink" align="absmiddle"/> </a> </vb:if>

['field18'] is the link that is specified in the user profile field. now if I click on the link comes the following error message:

The requested URL / community / ['field18'] was not found on this server.


why ['field18'] is not replaced with the link?

many thanks for your help and sunny greetings from Germany:)

acabmg



/EDIT

Okay.. it's 06:30 am an I should go to bed.. this is the correct code ;)

<vb:if condition="$post['field18']">
<a href="{vb:raw post.field18}" target="_blank"><img src="images/wowdata/arsenal.png" title="Arsenallink" align="absmiddle"/> </a> </vb:if></div>