public function getAvatarURL($actor, $size = 'square')
    {
        if ($actor->hasPortrait()) {
            return $actor->getPortraitURL($size);
        }

        return $this->getService('com:base.template.asset')
                    ->getURL('lib_anahita/images/avatar/'.$size.'_default.gif');
    }