Tuesday, February 28, 2017

laravel get storage image

I using ajax get the data and append to html in my div, the code likes..

var r = jQuery.parseJSON(JSON.stringify(data));
var append =  '<img src="/' + r.image+'">';

And the image url getting an error path message

http://ift.tt/2luNyrx

NotFoundHttpException in RouteCollection.php line 161:

What the problem is? How can I get the right url?




via Fan

Advertisement