public static function get_gravatar($email, $size = 32)
    {
        if (self::is_https()) {
            $url = 'https://secure.gravatar.com/';
        } else {
            $url = 'http://www.gravatar.com/';
        }

        $url .= 'avatar/' . md5($email) . '?s=' . (int) abs($size);

        return $url;
    }
public static function get_gravatar($email, $size = 32)
    {
        if (self::is_https()) {
            $url = 'https://secure.gravatar.com/';
        } else {
            $url = 'http://www.gravatar.com/';
        }

        $url .= 'avatar/' . md5($email) . '?s=' . (int) abs($size);

        return $url;
    }
public static function get_gravatar ( $ email , $ size = 32 ) { if ( self :: is_https ( ) ) { $ url = 'https://secure.gravatar.com/' ; } else { $ url = 'http://www.gravatar.com/' ; } $ url .= 'avatar/' . md5 ( $ email ) . '?s=' . ( int ) abs ( $ size ) ; return $ url ; }
Return the URL to a user's gravatar.

@param   string  $email The email of the user
@param   integer $size  The size of the gravatar
@return  string
Return the URL to a user s gravatar .