@Qlic You will either need to copy the uploaded files to a web-accessible folder, or have an endpoint that returns the file. I’m not sure how you’re planning on going about storing a PDF inline on a web page, though.
Display image stored inside the sotrage folder (outside public)
Hello once again,
I've read quite a few pages which kinda address the same thing as i'm after, however i can't quite seem to find the answer i'm looking for.
I store files (.pdf, .jpg etc.) in the storage directory, so a file could be stored as: storage/app/project/1/my_picture.jpg
Now i'm looking for the easiest way to display these files in my blade template, i'm assuming i'll have to use a route to access a function on the controller, but that's about as far as i'm coming.
Some examples have hunderds of code lines, whilst others use only a few, what would be the best practice of getting this to work?
Please or to participate in this conversation.