$user->gravatar($size = 256)

Returns the gravatar URL for the user.

  • return (string)

Example

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

Is something missing or incorrect? Edit this page on Github…