Closed febelery closed 1 year ago
I think you missed some steps. Try the following:
1) Go to the .env file and add the port :8000 (or whatever port you are using) to the APP URL
2) Type php artisan storage:link
Then it should work:)
I think you missed some steps. Try the following:
- Go to the .env file and add the port :8000 (or whatever port you are using) to the APP URL
- Type
php artisan storage:link
Then it should work:)
I know php artisan storage:link
.
I need http://localhost/storage/xxxxxxxx.png
can show when field is Forms\Components\FileUpload
.
http://localhost/storage/xxxxxxxx.png
is the correct url path accessible
The path for the file upload should be relative to the storage disk that you're using. Otherwise we don't know where the file is located that we are interacting with.
Maybe this is a preserve original filename thing?
Package
filament/filament
Package Version
3
Laravel Version
10
Livewire Version
3
PHP Version
8.2
Problem description
image url is
xxxxxxxx.png
show buthttp://localhost/storage/xxxxxxxx.png
not showExpected behavior
http://localhost/storage/xxxxxxxx.png
showSteps to reproduce
Reproduction repository
https://github.com/filamentphp/filament
Relevant log output
No response