Image upload

cannot retrieve image from storage/images getting 404 error also not showing in edit
15 Replies
bathishig
bathishigOP9mo ago
added filament to existing app this is only issue cannot retrieve image
Dennis Koch
Dennis Koch9mo ago
You should provide some information. Nobody can help with this little info
bathishig
bathishigOP9mo ago
No description
bathishig
bathishigOP9mo ago
after upload every image show like this but image is there i already run php artisan storage:link
Dennis Koch
Dennis Koch9mo ago
Check the Console for Errors. My guess: Your APP_URL doesn't match the URL you are opening in the browser
IamJohnDev
IamJohnDev9mo ago
change the APP_URL
bathishig
bathishigOP9mo ago
http://localhost/admin/carousels/2/localhost/storage/images/carousels/01HSRQA802SNSXDCGY8ZKBQD4N.png my app url is localhost http://localhost:5173/ my inertia working on this port should i change app url to localhost:5173? javascript?v=1710323434:1196

GET http://localhost/storage/images/carousels/01HSRQA802SNSXDCGY8ZKBQD4N.png 404 (Not Found) console error
Dennis Koch
Dennis Koch9mo ago
Does the file exist in /storage/public/images/carousel?
bathishig
bathishigOP9mo ago
yes its storage/app/public/images/carousel
Dennis Koch
Dennis Koch9mo ago
If you go to http://localhost/storage/images/carousels/01HSRQA802SNSXDCGY8ZKBQD4N.png directly, does that work? Otherwise: Check the symlink again What is that URL?!
bathishig
bathishigOP9mo ago
no its now working folder url that contains image after i change app url to http:localhost
Dennis Koch
Dennis Koch9mo ago
Then this is not a Filament issue but an issue with your setup
bathishig
bathishigOP9mo ago
ok i will try find case ty
IamJohnDev
IamJohnDev9mo ago
try to run php artisan storage:link
Rolland
Rolland9mo ago
can try delete the symlink folder. then run storage:link again
Want results from more Discord servers?
Add your server