mirror of
https://github.com/anna-sara/filament_inventory
synced 2025-10-26 23:27:13 +01:00
Test cdn
This commit is contained in:
parent
bf96403e40
commit
7a4fa69dd3
2 changed files with 3 additions and 0 deletions
|
|
@ -58,6 +58,7 @@ class Reserve extends BasePage implements HasTable
|
||||||
ImageColumn::make('image')
|
ImageColumn::make('image')
|
||||||
->label('Bild')
|
->label('Bild')
|
||||||
->size('100%')
|
->size('100%')
|
||||||
|
->disk('public')
|
||||||
->extraImgAttributes([
|
->extraImgAttributes([
|
||||||
'class' => 'rounded-md',
|
'class' => 'rounded-md',
|
||||||
'loading' => 'lazy'
|
'loading' => 'lazy'
|
||||||
|
|
|
||||||
|
|
@ -74,6 +74,7 @@ class ItemResource extends Resource
|
||||||
->live(),
|
->live(),
|
||||||
FileUpload::make('image')
|
FileUpload::make('image')
|
||||||
->label('Image')
|
->label('Image')
|
||||||
|
->disk('public')
|
||||||
->directory('images')
|
->directory('images')
|
||||||
->translateLabel()
|
->translateLabel()
|
||||||
->minSize(25)
|
->minSize(25)
|
||||||
|
|
@ -147,6 +148,7 @@ class ItemResource extends Resource
|
||||||
ImageColumn::make('image')
|
ImageColumn::make('image')
|
||||||
->label('Image')
|
->label('Image')
|
||||||
->translateLabel()
|
->translateLabel()
|
||||||
|
->disk('public')
|
||||||
//->visibility('private')
|
//->visibility('private')
|
||||||
->extraImgAttributes([
|
->extraImgAttributes([
|
||||||
'class' => 'rounded-md',
|
'class' => 'rounded-md',
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue