Closed webparadoxer closed 2 years ago
@webparadoxer You probably want to do a Storage::url()
or something.
but in table all ok, and left corner going from admin template, not me
hmm, and second problem - if clear avatar_url showing ok from ui-avatars.com but nothing in table
You need to wrap your URL in Storage::url()
within getFilamentAvatarUrl()
.
You need to wrap your URL in
Storage::url()
withingetFilamentAvatarUrl()
.You need to wrap your URL in
Storage::url()
withingetFilamentAvatarUrl()
.
but how can show avatars from ui-avatars in table?
@webparadoxer The ui-avatars are automatically generated.
Package
filament/filament
Package Version
2.0
Laravel Version
8.75.0
Livewire Version
2.8
PHP Version
8.0.11
Bug description
Avatar url in left bottom is wrong
<div class="w-11 h-11 rounded-full bg-gray-200 bg-cover bg-center" style="background-image: url('JRhKLAUF8J8KrvGWc8AieAZSX13c4SpS0unu2yee.jpg')"></div>
/storage/ missedSteps to reproduce
Relevant log output
No response