how to change avatar in topbar to my local image

the user avatar change to image
3 Replies
Vp
Vp11mo ago
You can do like this for local image
public function getFilamentAvatarUrl(): ?string
{
return asset('images/avatar.png');
}
public function getFilamentAvatarUrl(): ?string
{
return asset('images/avatar.png');
}
Ahmed Ali
Ahmed AliOP11mo ago
works well
Want results from more Discord servers?
Add your server