Avatar deprecated
class Avatar (View source)
deprecated
Class Avatar.
Methods
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
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
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