© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
19 replies
Mark Chaney

ImageColumn and multiple avatars

shouldnt
ImageColumn::make('belongsToManyRelationship.avatar')
ImageColumn::make('belongsToManyRelationship.avatar')
work? according to the docs, it looks like it should. Now all avatars would be defaults, but I checked with tinker and each of the relationships do return the avatar url, but not getting anything in the column. If I try using getStateUsing() to troubleshoot it, it says it only handles a string, which I would think wouldn’t be the case for multiple image support.
Solution
looks like i had to append it like so:
protected $appends = ['avatar', 'phone'];
protected $appends = ['avatar', 'phone'];
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

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

ImageColumn
FilamentFFilament / ❓┊help
3y ago
ImageColumn image zoom
FilamentFFilament / ❓┊help
8mo ago
if ImageColumn working ?
FilamentFFilament / ❓┊help
3y ago
ImageColumn() set path
FilamentFFilament / ❓┊help
3y ago