public function gravatar($size = 60, $default = 'mm', $rating = 'g')
    {
        $email = $this->email;

        return 'http://www.gravatar.com/avatar/'.md5(strtolower(trim($email)))."?s={$size}&d={$default}&r={$rating}";
    }
public function gravatar($size = 60, $default = 'mm', $rating = 'g')
    {
        $email = $this->email;

        return 'http://www.gravatar.com/avatar/'.md5(strtolower(trim($email)))."?s={$size}&d={$default}&r={$rating}";
    }
public function gravatar ( $ size = 60 , $ default = 'mm' , $ rating = 'g' ) { $ email = $ this -> email ; return 'http://www.gravatar.com/avatar/' . md5 ( strtolower ( trim ( $ email ) ) ) . "?s={$size}&d={$default}&r={$rating}" ; }
Get gravatar url.

@param int    $size
@param string $default
@param string $rating

@return string
Get gravatar url .