How to add fancybox in the table builder ?

Hi all i want to add a fancybox in the list of products when user click on the image all images will appear in the fancybox or lightbox can anyone help me about how to do that? I am using SpatieMediaLibraryImageColumn to display images in the column
3 Replies
Dennis Koch
Dennis Koch2y ago
I think you could use ->extraAttributes() on the column to add attributes on it. Then you need to add you JS to Filament that enables a Lightbox on those images. Maybe you don't even need extraAttributes.
Ali Abbas
Ali AbbasOP2y ago
@Dennis Koch thanks for your reply i will try hope it works.
Want results from more Discord servers?
Add your server