How to show thumbnails on SpatieMediaLibraryFileUpload field?

Everything is working fine. I installed Spatie Media Library, imported the field, and I'm currently using it. I have it set up for multiple images. SpatieMediaLibraryFileUpload::make('Imagenes') ->columnSpan('full') ->multiple() ->conversion('thumb') ->enableReordering(), However, when I see the resource, it does show the the images, but it shows them as a list, and not the thumbnails. How can I do that? I understand SpatieMediaLibraryFileUpload is for uploads, but is there an other field to actually show images? Or can I use SpatieMediaLibraryFileUpload to display the images in some way?
3 Replies
Dan Harrin
Dan Harrin2y ago
does it show the full size of the image?
barrerakj
barrerakjOP2y ago
It shows just the name of the image, and the size is the size of the field, in this case I'm using columnSpan full, so it basically just shows text.
barrerakj
barrerakjOP2y ago
Filament
File upload previews not loading by Dan Harrin - Tricks - Filament
Filament is a collection of tools for rapidly building beautiful TALL stack apps, designed for humans.
Want results from more Discord servers?
Add your server