samedi 9 septembre 2017

How to access session variable to display img_path in img tag in Laravel

I am using laravel 5.4 version

I have set an image path in session of laravel in controller in the img_url variable

This is the html code how i am trying to access the image

<img alt="" class="img-circle" src="" />

The img_url has the path assets/user_images/default.png in the public folder

It giving me an error in console like this:

Failed to load resource: the server responded with a status of 403 (Forbidden)  session(%22img_url%22)



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire