muhdnorfirdaus
Uploaded files/image does not show when in edit page
Yes, i've run that storage link, But there is no error on console
.env
APP_URL=http://127.0.0.1:8000/
FILESYSTEM_DISK=public
filesystem.php
'disks' => [
'local' => [
'driver' => 'local',
'root' => storage_path('app'),
'throw' => false,
],
'public' => [
'driver' => 'local',
'root' => storage_path('app/public'),
'url' => env('APP_URL').'/storage',
'visibility' => 'public',
'throw' => false,
],
's3' => [
'driver' => 's3',
'key' => env('AWS_ACCESS_KEY_ID'),
'secret' => env('AWS_SECRET_ACCESS_KEY'),
'region' => env('AWS_DEFAULT_REGION'),
'bucket' => env('AWS_BUCKET'),
'url' => env('AWS_URL'),
'endpoint' => env('AWS_ENDPOINT'),
'use_path_style_endpoint' => env('AWS_USE_PATH_STYLE_ENDPOINT', false),
'throw' => false,
],
],
9 replies
FileUpload Form Field gives unexpected error.
As you know, for security purpose, by default, filament will generate random file name to store the image
source: https://filamentphp.com/docs/3.x/forms/fields/file-upload
6 replies