How do I add an image instead of the rank text?
Posted by
Evildaddy on
May 06, 2013; 11:00pm
URL: https://support.nabble.com/How-do-I-add-an-image-instead-of-the-rank-text-tp7584314.html
Here's the code so far
<override_macro name="classic_big_avatar_cell" requires="node">
<div class="avatar-outer">
<div class="avatar-inner">
<n.owner.avatar size="big" border_class="medium-border-color"/>
</div>
</div>
<n.avatar_label condition="[n.owner.is_in_group group= 'Premium'/]" label="[t]Premium[/t]"/>
<n.avatar_label condition="[n.owner.is_in_group group= 'AdBot'/]" label="[b][t]AdBot[/t][/b]"/>
<n.avatar_label condition="[n.owner.is_in_group group= 'Registered Users'/]" label="[h2][b][t]Junior Member[/t][/b][/h2]"/>
<n.avatar_label condition="[n.owner.is_in_group group= 'Moderator'/]" label="[h2][b][t]Moderator[/t][/b][/h2]"/>
<n.avatar_label condition="[n.owner.is_in_group group= 'Members'/]" label="[h2][b][t]Member[/t][/b][/h2]"/>
<n.avatar_label condition="[n.owner.is_site_admin/]" img src="
http://s18.postimg.org/3tjy92bf9/Admin.png"/> <n.avatar_label condition="[n.owner.is_banned/]" label="[t]Banned User[/t]"/>
<n.owner.post_count/>
</override_macro>
I would like an image to appear instead of Admin.