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
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.@Dennis Koch thanks for your reply i will try hope it works.