$user->gravatar($size = 256)

Returns the gravatar URL for the user.

  • return (string)

Example

<img src="<?= $site->user('bastian')->gravatar() ?>" alt="Bastian's gravatar">