First of all this is a great package!
I do wish there was an option to hide the filename from the detail view if displayAsImage() is set.
Right now the only way to solve this is by hiding the field on detail and adding a compute field like this:
FilemanagerField::make('Avatar', 'avatar_url')
->folder('avatars')
->filterBy('images')
->displayAsImage()
->hidefromDetail(),
Text::make('Avatar', function () {
return "<img src='$this->avatar' alt='$this->fullName' class='max-w-xs'>";
})->asHtml()
->canSee(function () {
return $this->avatar_url;
})
->onlyOnDetail(),