Open jay2238 opened 3 years ago
When I try to replace the image then the image not store in s3
Medialibrary::make('Avatar', 'profile_image', 's3') ->previewUsing(function ($media) { return $media->getTemporaryUrl(now()->addMinutes(5)); }) ->autouploading() ->single() ->withMeta([ 'indexPreviewClassList' => 'rounded w-8 h-8 ml-2', 'detailsPreviewClassList' => 'w-32 h-24 rounded-b', ]),
@jay2238 Is this still a problem?
When I try to replace the image then the image not store in s3
Medialibrary::make('Avatar', 'profile_image', 's3') ->previewUsing(function ($media) { return $media->getTemporaryUrl(now()->addMinutes(5)); }) ->autouploading() ->single() ->withMeta([ 'indexPreviewClassList' => 'rounded w-8 h-8 ml-2', 'detailsPreviewClassList' => 'w-32 h-24 rounded-b', ]),