Image upload

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