Laravel Blade html image -
my image file path public/img/logo.png , app.blade.php file path resources/views/app.blade.php
inside of app.blade.php file use {{html::image('/img/stuvi-logo.png')}} display image. don't understand why won't find image. root folder of image() method?
change /img/stuvi-logo.png to img/stuvi-logo.png
{{ html::image('img/stuvi-logo.png') }} which produces following html.
<img src="http://your.url/img/stuvi-logo.png">
Comments
Post a Comment