How can I add images in message user info with custom profile fields

  • Thread starter Thread starter account8226
  • Start date Start date
A

account8226

Guest
Hey, I would like to add an image to my message_user_info, that depend from the custom profile field that a member choosed.

Thanks for the help :)
 
You can use the html output
Value Display HTML:

If not empty, this allows you to format the value of this field using HTML, allowing you to do things like link or mark up the output. You may use these placeholders: {$value} - the field's display value; {$valueUrl} - the field's display value for use in a URL, {$choice} - the underlying value of the chosen option, and {$fieldId} - the ID of this field (beziehungsstatus).
 
You can use the html output

And how can I do in order that the value entered by the user in his profile field can put X or Y image. For example the user have to choose btw 1 or 2, if he choose 1 it will show the image of a 1 and if he choose two it will put a image of the number 2.
 
Thanks, btw it's not working for me, there is a broken image whom the link is site.com/images/.png I added the img src code into message user info.
 
Top Bottom