Get either a Gravatar URL or complete image tag for a specified email address.
static
String
get_gravatar
(string $email, string $s, [string $d = ''], [string $r = 'g'], [boole $img = true], [array $atts = array()])
-
string
$email: The email address
-
string
$s: Size in pixels, defaults to 80px [ 1 - 512 ]
-
string
$d: Default imageset to use [ 404 | mm | identicon | monsterid | wavatar | retro ]
-
string
$r: Maximum rating (inclusive) [ g | pg | r | x ]
-
boole
$img: True to return a complete IMG tag False for just the URL
-
array
$atts: Optional, additional key/value attributes to include in the IMG tag
img function.
static
string
img
(string $email, int $size)
Redefinition of:
- Laika::img()
- img function.
Inherited Methods
Inherited From Laika
Laika::__construct()
Laika::from_array()
Laika::img()
Laika::link_to()
Laika::pop_assoc()
Laika::pop_index()
Laika::redirect_to()
Laika::reflect()
Laika::release()
Laika::to_array()
Laika::version()
Laika::__call()
Laika::__get()
Laika::__set()