XF 2.1 display an image in message_macro chosen via custom user field

OUTL4W

Active member
trying to display an image(s) in the message_macros(without text), below avatar, that shows the members chosen console & headset.

just can't seem to make this work...
Code:
<xf:comment>My console</xf:comment>
<xf:if is="{$user.Profile.custom_fields.my_console} AND $ahGPStatus.my_console">
<img src="images/console/{$user.Profile.custom_fields.my_console}.png" data-xf-init="tooltip" title="{$user.Profile.custom_fields.my_console}">
</xf:if>[

<xf:comment>My headset</xf:comment>
<xf:if is="{$user.Profile.custom_fields.my_headset} AND $ahGPStatus.my_headsets">
<img src="images/headsets/{$user.Profile.custom_fields.my_headset}.png" data-xf-init="tooltip" title="{$user.Profile.custom_fields.my_headsets}">
</xf:if>


done the via "Value display HTML " But I want the images centered, on the same line & no text...any help is greatly appreciated...
1585607808523.png[/CODE]
 
Last edited:
Top Bottom