Image upload

cannot retrieve image from storage/images getting 404 error also not showing in edit
15 Replies
bathishig
bathishig5mo ago
added filament to existing app this is only issue cannot retrieve image
Dennis Koch
Dennis Koch5mo ago
You should provide some information. Nobody can help with this little info
bathishig
bathishig5mo ago
No description
bathishig
bathishig5mo ago
after upload every image show like this but image is there i already run php artisan storage:link
Dennis Koch
Dennis Koch5mo ago
Check the Console for Errors. My guess: Your APP_URL doesn't match the URL you are opening in the browser
IamJohnDev
IamJohnDev5mo ago
change the APP_URL
bathishig
bathishig5mo 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 Koch5mo ago
Does the file exist in /storage/public/images/carousel?
bathishig
bathishig5mo ago
yes its storage/app/public/images/carousel
Dennis Koch
Dennis Koch5mo 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
bathishig5mo ago
no its now working folder url that contains image after i change app url to http:localhost
Dennis Koch
Dennis Koch5mo ago
Then this is not a Filament issue but an issue with your setup
bathishig
bathishig5mo ago
ok i will try find case ty
IamJohnDev
IamJohnDev5mo ago
try to run php artisan storage:link
Rolland
Rolland5mo ago
can try delete the symlink folder. then run storage:link again