$user->gravatar($size = 256)

Returns the gravatar URL for the user.

  • return (string)

Example

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