Any cool plugins to handle display of multiple uploads?
I have a repeater and each element is likely to have multiple photos. Does anyone know of a plugin to handle the layout a bit better? The stack of photos is a bit much. Open to ideas!
![No description](https://cdn.answeroverflow.com/1225550920608125039/Screenshot_2024-04-04_at_1.58.04_PM.png)
Solution:Jump to solution
If you don't want custom theme then another one is to put your fileupload to new line (below select) with full width. and use (not sure panelsLayout('grid') is the correct api or not 🤣 )
->panelLayout('grid')
to display images as grid layouts. 7 Replies
Best bet is going to be a custom theme and trying to change it with css.
Solution
If you don't want custom theme then another one is to put your fileupload to new line (below select) with full width. and use (not sure panelsLayout('grid') is the correct api or not 🤣 )
->panelLayout('grid')
to display images as grid layouts. Something like this
![No description](https://cdn.answeroverflow.com/1225637307181301852/Screenshot_from_2024-04-05_09-44-51.png)
That's exactly what I want but where do I set
->panelLayout('grid')
? I don't see it in the docs.
Oh it's a SpatieMediaLibraryFileUpload
method, thanks!!!!
Now I wish I could reorder them but that's a big ask I guess. LOLNo big, but need to check docs.. here it is https://filamentphp.com/docs/3.x/forms/fields/file-upload#reordering-files
Correction, it's a Filament method, in case anyone else needs this
https://www.youtube.com/watch?v=N036kkmwTe0
Filament Daily
YouTube
Filament Table Grid: Change Layout Drastically
Filament allows you to change the table layout with Grid, Stack, Split, and others.
- See the docs: https://filamentphp.com/docs/3.x/tables/layout#controlling-column-width-using-a-grid
- Full Example. LMS: Learning Management System https://filamentexamples.com/project/lms-learning-management-system
- More Filament examples on our website: http...
Brilliant! Thanks! In case others need the answer: