F
Filament8mo ago
lutek

SpatieMediaLibraryImageEntry stopped displaying images

Just noticed after upgrade to 3.2.52 (filament/spatie-laravel-media-library-plugin). I don't see any breaking changes. I'm using s3 (minio) storage.
Components\SpatieMediaLibraryImageEntry::make('designerProfile.media')
->label('Project wykonany przez')
->helperText(fn ($record) => $record->designerProfile->profile_name)
->collection(config('project.designer_media_collections.logo'))
//->conversion('full')
->extraImgAttributes([
'class' => 'rounded-lg',
])
->size('100%')
->checkFileExistence(false)
->url(
fn ($record): string => DesignerProfileResource::getUrl(
'view',
['record' => $record->designer_profile_id]
)
),
Components\SpatieMediaLibraryImageEntry::make('designerProfile.media')
->label('Project wykonany przez')
->helperText(fn ($record) => $record->designerProfile->profile_name)
->collection(config('project.designer_media_collections.logo'))
//->conversion('full')
->extraImgAttributes([
'class' => 'rounded-lg',
])
->size('100%')
->checkFileExistence(false)
->url(
fn ($record): string => DesignerProfileResource::getUrl(
'view',
['record' => $record->designer_profile_id]
)
),
the same with
Tables\Columns\SpatieMediaLibraryImageColumn::make('logo')
->collection(config('project.designer_media_collections.logo'))
->conversion('thumb')
->size('100%')
->extraImgAttributes([
'class' => 'rounded-lg',
])
->alignCenter(),
Tables\Columns\SpatieMediaLibraryImageColumn::make('logo')
->collection(config('project.designer_media_collections.logo'))
->conversion('thumb')
->size('100%')
->extraImgAttributes([
'class' => 'rounded-lg',
])
->alignCenter(),
1 Reply
lutek
lutek8mo ago
its happen on 3.2.52 on version 3.2.48 works fine.
Want results from more Discord servers?
Add your server