This will give you the option to use small or large Avatars in the story or link summary pages
Open up your pligg root/ libs folder/ link.php
find this line. around line 473 in 9.9 version
Code:
$smarty->assign('Avatar_ImgSrc', get_avatar('large', "", "", "", $this->userid)); add this line right underneath:
Code:
$smarty->assign('Avatar_ImgSrcs', get_avatar('small', "", "", "", $this->userid)); Now just use
Code:
{if $UseAvatars neq "0"}<span id="ls_avatar-{$link_shakebox_index}"><img src="{$Avatar_ImgSrcs}" align="absmiddle"/></span> (changes in red) in the link_summary.tpl of your template where you want a small avatar, you might not need the align="absmiddle".
or just the default
Code:
{if $UseAvatars neq "0"}<span id="ls_avatar-{$link_shakebox_index}"><img src="{$Avatar_ImgSrc}" alt="Avatar"/></span>{/if} is still usable for the large avatar
Now if only this would work in sidebar modules.
