© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•2y ago•
4 replies
Darkavatar23

Image Gallery On Modal like ImageColumn

I have to make an image selector to which I pass a collection like this

ImageProduct::all()

where customers select images and then they are passed to a PDF as an array.
Do I necessarily have to make a custom component?Is there something already done?

I saw the component

ImageColumn

used here
https://demo.filamentphp.com/blog/links
I would like to have the same thing as a component of the form in which images are selected to be placed in the PDF
Any advice ? I dont need the code just a guideline to follow. Any help it's appreciated.
My Code:

Actions\Action::make('pdf')
->label('PDF')
->color('success')
->icon('heroicon-o-document-text')
->form([
//ImageSelector | ImageColumn / DONT know HOW TO DO
])
->requiresConfirmation()
->action(PDFController::estimatePDF(...)),
Solution
Maybe a litle detour to a CheckboxList?
Here you can create the options with a image as description https://filamentphp.com/docs/3.x/forms/fields/checkbox-list#setting-option-descriptions
Checkbox list - Form Builder - Filament
Jump to solution
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources
Was this page helpful?

Similar Threads

Recent Announcements

Similar Threads

ImageColumn image zoom
FilamentFFilament / ❓┊help
8mo ago
Modal Popup on 'ImageColumn' Click - Table
FilamentFFilament / ❓┊help
2y ago
Enlarged image preview in ImageColumn
FilamentFFilament / ❓┊help
2y ago
ImageColumn is not showing image
FilamentFFilament / ❓┊help
2y ago