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}",
];
}
}),
1 Reply
Kerchack
KerchackOP15mo ago
someone knows something about this? :/
Want results from more Discord servers?
Add your server