You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a weird issue with Glide on a fresh local Laravel install (PHP 8.1.13 / Laravel 9.44.0). I followed the documentation to the letter, my route looks like this:
Hello,
I have a weird issue with Glide on a fresh local Laravel install (PHP 8.1.13 / Laravel 9.44.0). I followed the documentation to the letter, my route looks like this:
Route::get('/img/{path}', [ImageController::class, 'show'])->where('path', '.*');
I have an ImageController that looks like this:
But when I try to access an image through the correct path, it gives me a "Could not find the image
storage/images/portrait-rose.jpg
." error.Url is: http://localhost:8000/img/storage/images/portrait-rose.jpg
And if I try to access http://localhost:8000/storage/images/portrait-rose.jpg the image definitely shows up.
What could be the issue there?
Thanks in advance.
The text was updated successfully, but these errors were encountered: