Hi guys
I would like to know how I could modify the code above to place the images side by side instead of one on top of the other, as shown in the image.
Notes:
This is in an infolist.
The field is a json with imageLinks as www.imageexample.com
code:
Section::make('Imagens')
->schema([
ImageEntry::make('imagePaths')
->Label("Imagens")
->getStateUsing(function ($record) {
$imagePaths = is_array($record->imagePaths) ? $record->imagePaths : json_decode($record->imagePaths, true);
return $imagePaths;
})
])
->columnSpan(5)
->columns(5),
3 Replies
I think you would need a custom entry to achieve this.
as a custom view ?
I think,you can use
->grid()