Avatar deprecated
class Avatar (View source)
deprecated \@package Concrete\Core\Application\Service
Class Avatar.
Methods
No description
gets the image path for a users avatar.
What to show if the user has no avatar.
Removes the avatar for the given user.
Get either a Gravatar URL or complete image tag for a specified email address.
No description
Details
string
outputUserAvatar(UserInfo $uo, bool $suppressNone = false, float $aspectRatio = 1.0)
No description
bool|string
getImagePath(UserInfo $uo, bool $withNoCacheStr = true)
gets the image path for a users avatar.
string
outputNoAvatar(float $aspectRatio = 1.0)
What to show if the user has no avatar.
removeAvatar(User $ui)
Removes the avatar for the given user.
string
getGravatar(string $email, int $s = 80, string $d = 'mm', string $r = 'g', bool $img = false, array $atts = array())
deprecated
deprecated
Get either a Gravatar URL or complete image tag for a specified email address.
string
get_gravatar($email, int $s = 80, string $d = 'mm', string $r = 'g', bool $img = false, array $atts = array())
deprecated
deprecated
No description