© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
2 replies
Kerchack

Table resource with Stacked avatars and it's alt or title attribute

¿Is there a way of show multiple user avatar images stacked an it's titles qhen hover on images?

I need to show User's names.

Edit
----

I need something like this
Tables\Columns\TextColumn::make('description'),
                ImageColumn::make('users.profile_image')
                    ->defaultImageUrl( function (Training $record) {
                        $hash = md5(strtolower(trim($record->users[0]->email)));
                        return "https://www.gravatar.com/avatar/{$hash}.jpg";
                    })
                    ->circular()
                    ->stacked()
                    ->extraImgAttributes( function (Training $record) {
                        foreach ($record->users as $user) {
                            return [
                                'alt' => "{$user->name} avatar",
                                'title' => "{$user->name}",
                            ];
                        }
                    }),
Tables\Columns\TextColumn::make('description'),
                ImageColumn::make('users.profile_image')
                    ->defaultImageUrl( function (Training $record) {
                        $hash = md5(strtolower(trim($record->users[0]->email)));
                        return "https://www.gravatar.com/avatar/{$hash}.jpg";
                    })
                    ->circular()
                    ->stacked()
                    ->extraImgAttributes( function (Training $record) {
                        foreach ($record->users as $user) {
                            return [
                                'alt' => "{$user->name} avatar",
                                'title' => "{$user->name}",
                            ];
                        }
                    }),
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

stacked Imagecolumn with tooltip/title?
FilamentFFilament / ❓┊help
9mo ago
Resource Title
FilamentFFilament / ❓┊help
2y ago
Select relationship and "virtual" title attribute
FilamentFFilament / ❓┊help
2y ago
Resource record title with Html
FilamentFFilament / ❓┊help
3y ago