Error while Displaying Multiple Images in the table column.

In my Filament V2 project, I have already uploaded multiple images using multiple() and defined protected $casts, inserted successfully in the database as an array like this ["y1.jpg", "y2.jpg", "y3.jpg"]. Now, I want to display these images in a table as stacked images or at least as a single image. However, I'm encountering this error: 'League\Flysystem\Filesystem::has(): Argument #1 ($location) must be of type string, array given'. Any help would be greatly appreciated. //below is the code FileUpload::make('images') ->preserveFilenames() ->getUploadedFileNameForStorageUsing(function (TemporaryUploadedFile $file): string { return (string) str($file->getClientOriginalName())->prepend('image') . '_'); })->multiple() //trying to display like this ->columns([ ImageColumn::make('images'), ])`
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server