Image File not Found

Hello . I have a new installation of twill using version 3.3. I run into this error when loading media library navigation. The images get uploaded successfully but do not display [2024-08-20 18:43:03] local.ERROR: Could not find the image `1a437793-b32d-41a8-b18d-ced69955c6aa/image.png`. {"exception":"[object] (League\\Glide\\Filesystem\\FileNotFoundException(code: 0): Could not find the image `1a437793-b32d-41a8-b18d-ced69955c6aa/image.png`. - When i upload the images they upload successfully and i can find them in the storage/app/public/uploads directory Can anyone help thanks
9 Replies
kallefrombosnia
Do you have storage linked to the public directory? artisan storage:link
Bradley
Bradley4w ago
Yes i do
kallefrombosnia
Check the browser devtools->network or laravel.log It should tell you why images dont load APP_DEBUG should be true
Bradley
Bradley4w ago
This is the error that gets thrown on the backend local.ERROR: Could not find the image 1a437793-b32d-41a8-b18d-ced69955c6aa/image.png. {"exception":"[object] (League\Glide\Filesystem\FileNotFoundException(code: 0): Could not find the image 1a437793-b32d-41a8-b18d-ced69955c6aa/image.png. But like i the image exists in this folder
kallefrombosnia
Are you on the win or other OS? file perm could be a problem
Bradley
Bradley4w ago
not sure if there's an initial path that should be set so that the image might have something like app/public/1a437793-b32d-41a8-b18d-ced69955c6aa/image.png I'm on MacOs
kallefrombosnia
Ok, nevermind storage link is not needed since this comes from the controller which grabs the image from the storage/app/public/uploads/1a437793-b32d-41a8-b18d-ced69955c6aa/image.png. Can you confirm that your image is in that exact path?
Bradley
Bradley4w ago
Yes the image is there
kallefrombosnia
Thats weird. @ifox any idea maybe
Want results from more Discord servers?
Add your server