I was able to use Storage::put() to upload an image. In this case, I use the local disk driver, and I could browse to the storage folder and view the file. However, in Laravel when I want to view the file using Storage::get() I get the contents as a string rather than as an image file.
My question is how I can turn this into a file that I can use in my view.
Yes it seems the filesystem with storage is not intended to use on the app for gallery public viewing, only on a separate view or download page via response.
Hello and thanks for responding, I purposely posted only to you because I felt you could answer all of my questions :-). However, I have figured it out, Storage:: and how local and public disk differ was the issue. I wanted all of my images to be secure no matter what from the outside. So I used Local with a directory structure of /Images/{username}/files and it is working perfectly.
I got it to serve a private image in storage as intended. Was there any work around for the webpage source not having the jpeg code in the view source?