filament fixing image path
im new in filamennt, i want to show images in storage, but the path goes with image path like this:
i done link my storage, but why that say 404 not found



22 Replies
sorry for my english
check app_url in .env, it needs port eg:
APP_URL=http://localhost:8000
i done doing that, but nothing change
w8, your url
http://127.0.0.1:8000/admin/127.0.0.1:8000/storage/01JDNP8T1Q25Q4S8ARS96QDN3Z.png
is very weird.. show me how you upload
and did you put 127.0...
insted of localhost
?
this my model:
did you do this?
Did you setup something differently because
/admin/127.0.0.1:8000/storage...
is very weird, based on the upload you should've /admin/storage...
no i didnt setting anything
in my database that column just containt file name
hm where i can put log to see where what image path, i want to try change the image to see that
remove
127.0...
between admin and storage and check on browser, does it display image?no, i try all path, and the true path is
http://127.0.0.1:8000/storage/01JDNRW7DXKSYENEXDVCGJVG8N.png
oh.. yes it should be without
admin
and 127.0..
but see, in this the path is true

are that error from my filesystem.php file?
here it missing
http://
maybe that's why
what did you put in app_url in .env file?
are i need to clear cache?
Solution
yeah you can try
now I am out of idea.. what are your filament and laravel versions?
3.2
run
php artisan about
and post the exact version
thanks for your help, i found my error. i just clear all cache from app folder and boom the image is show
this is the fucking error, i had this error for 6 hour lol
im so sorry for my english
glad it's resolved