johnpuddles
ImageColumn() set path
You can customize the value shown in a column by using the state() method https://filamentphp.com/docs/3.x/tables/columns/getting-started#calculated-state
e.g. Tables\Columns\ImageColumn::make("image")
->label("Image")
->state(function (Model $record) {
return Storage::disk('cloud')->url($record->image);
}),
7 replies