Hi :)
I'm following the "Projectflyer" series. But i am stuck in 11 - Bulk files uploads.
I can upload multiple files, and get the files correctly stored in the database( With path and id). The images are also correctly stored in the public folder.
When i refresh the page, the img tag is correctly pointing to the same folder structure within the public folder. But it can't find the images, and it shows nothing.
I'm using laravel 5.2.
Does anyone know whats happening?
It can't be undone @frezno . Or i don't know how to :D
Anyways, thank you for you input!
That's crazy with your code it can actually display the image.
Inpsecting with chrome i can see your code provides a full path:
<img href="http://test.app/8000 /flyers/photos/imageID.jpg"
While my code (gets path from mysql database):
@foreach($url->photos as $photo)
<img src="{{ $photo->path }}" alt =""/>
@endforeach
Just outputs <img href="flyers/photos/imageID.jpg" - and somehow that doesn't work - the result is just a dead image icon.
Have you experienced something like that before @frezno ? And thank you very much for your input. If everythng goes wrong, i could just re-write my code so i can use yours instead. I'm just wondering whats wrong here :/