Level 75
You could upload to a certain folder, and move it later if needed.
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hi team.
I am wondering if it is possible to be able to upload an image after you select it from the find / explorer before actually saving / updating the resource. Is that possible?
I have this code in my Resource for the image
Image::make(__('Icon'), 'icon_path')
->disk('s3.assets')
->path('icons')
->thumbnail(function ($value) {
return $value ? Storage::disk('s3.assets')->temporaryUrl($value, now()->addMinutes(5)) : null;
})->preview(function ($value) {
return $value ? Storage::disk('s3.assets')->temporaryUrl($value, now()->addMinutes(5)) : null;
})
->required()
->acceptedTypes('.svg'),
a bonus would also to have it show the thumbnail as well.
Please or to participate in this conversation.