public function avatarImage($width = null, $height = null, $returnGravatarIfNotFound = false)
    {
        return new HtmlString(
          view()->make(
            "vendor.user.avatar", [
              'width'=>$width,
              'height'=>$height,
              'returnGravatarIfNotFound'=>$returnGravatarIfNotFound,
              'imageURL'=>$this->avatar($width, $height, $returnGravatarIfNotFound),
              'user'=>$this
            ]
          )->render()
        );
    }
public function avatarImage($width = null, $height = null, $returnGravatarIfNotFound = false)
    {
        return new HtmlString(
          view()->make(
            "vendor.user.avatar", [
              'width'=>$width,
              'height'=>$height,
              'returnGravatarIfNotFound'=>$returnGravatarIfNotFound,
              'imageURL'=>$this->avatar($width, $height, $returnGravatarIfNotFound),
              'user'=>$this
            ]
          )->render()
        );
    }
public function avatarImage ( $ width = null , $ height = null , $ returnGravatarIfNotFound = false ) { return new HtmlString ( view ( ) -> make ( "vendor.user.avatar" , [ 'width' => $ width , 'height' => $ height , 'returnGravatarIfNotFound' => $ returnGravatarIfNotFound , 'imageURL' => $ this -> avatar ( $ width , $ height , $ returnGravatarIfNotFound ) , 'user' => $ this ] ) -> render ( ) ) ; }
Print Avatar image.

@param int     $width                    Width of image. ex: 200
@param int     $height                   Height of image. ex: 200
@param boolean $returnGravatarIfNotFound Return gravatar if not avatar is found

@return string|null
Print Avatar image .