how to fill image on full card box (stacked)

is this possible without touching blade templates?

->columns([
    Tables\Columns\Layout\Stack::make([
        Tables\Columns\SpatieMediaLibraryImageColumn::make('photos')
            ->collection(config('project.project_media_collections.photos'))
            ->conversion('thumb')
            ->size('100%')
            ->limit(1),
        Tables\Columns\TextColumn::make('title'),
        Tables\Columns\ToggleColumn::make('favorite')
            ->updateStateUsing(function (Project $record) {
                if ($record->favorite()->count() === 0) {
                    $record->favorite()->attach(auth()->id());
                } else {
                    $record->favorite()->detach(auth()->id());
                }
            }),
        Tables\Columns\TextColumn::make('favorite_count')
            ->numeric()
            ->sortable(),
        Tables\Columns\TextColumn::make('rating_avg')
            ->numeric()
            ->sortable(),
    ])->alignBetween(),
])
image.png
Solution
Check the Curator plugin. It’s doing similar with a grid layout.
Was this page helpful?