Thank you for this gorgeous package. It is using the gravatar in the model. But some of us use the Avatar for users instead of Gravatars.
If you could make it optional to use the avatar, that would be awesome.
Currently, I am changing the model like this:
public function getCreatedByAvatarUrlAttribute()
{
$createdBy = $this->createdBy;
if (empty($createdBy)) return null;
//return 'https://www.gravatar.com/avatar/' . md5(strtolower($createdBy->email)) . '?s=300';
return '/storage/' . auth()->user()->avatar . '?s=300';
}
Thank you for this gorgeous package. It is using the gravatar in the model. But some of us use the Avatar for users instead of Gravatars. If you could make it optional to use the avatar, that would be awesome. Currently, I am changing the model like this:
public function getCreatedByAvatarUrlAttribute() { $createdBy = $this->createdBy; if (empty($createdBy)) return null; //return 'https://www.gravatar.com/avatar/' . md5(strtolower($createdBy->email)) . '?s=300'; return '/storage/' . auth()->user()->avatar . '?s=300'; }
Thank you.