Ok ive managed to understand the variant and add images. This is my example below:
www.sog-team.co.uk/forum/showroster.php
This is the information contained in the templates:
showroster_usergroup
Code:
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="tcat" colspan="8">$user[title]</td>
</tr>
<tr>
<td class="thead">$vbphrase[user_name]</td>
<td align="center" class="thead">Real Name</td>
<td align="center" class="thead">Country</td>
<td align="center" class="thead">Flag</td>
<td align="center" class="thead">Games</td>
<td align="center" class="thead">Contact</td>
<td align="center" class="thead">Xfire</td>
$usergroupbits
</table>
<br />
showroster_usergroupbit
Code:
<tr>
<td class="$bgclass">
<a href="member.php?$session[sessionurl]u=$user[userid]">$user[musername]</a>
</td>
<td align="center" class="$bgclass" nowrap="nowrap">$user[field12]</td>
<td align="center" class="$bgclass" nowrap="nowrap">$user[field10]
</td>
<td align="center" class="$bgclass" nowrap="nowrap"><img src="images/flags/$user[field10].gif"></td>
<td align="center" class="$bgclass" nowrap="nowrap">$user[field8]</td>
<td align="center" class="$bgclass" nowrap="nowrap"><a href="private.php?$session[sessionurl]do=newpm&u=$user[userid]" rel="nofollow"><img src="images/imagesblue/sendpm.gif" Border=0></a>
<a href="sendmessage.php?$session[sessionurl]do=mailmember&u=$user[userid]" rel="nofollow"><img src="images/imagesblue/email.gif" Border=0></a>
<td align="center" class="$bgclass" nowrap="nowrap"><if condition="$user[field14]"><a href="xfire:add_friend?user=$user[field14]"><IMG STYLE="border: none;" SRC="images/misc/icon_xfire.gif"></a></if></td>
</tr>
And of course in order to do that (add images) you need to user the "$user" variant opposed to "$post" even though it could be added to the php file
Hope that helps