© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
1 reply
leoPascal

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
["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




//trying to display like this
->columns([
ImageColumn::make('images'),
])`
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Issue while displaying a image in column
FilamentFFilament / ❓┊help
3y ago
i am displaying the data in table builder using column()
FilamentFFilament / ❓┊help
3y ago
Show multiple column data in a single table column.
FilamentFFilament / ❓┊help
2y ago
Fileupload multiple image in a tab not displaying images properly
FilamentFFilament / ❓┊help
15mo ago