Laravel 4 HTML images Laravel 4 HTML images laravel laravel

Laravel 4 HTML images


The laravel search the image in the public folder, then you should have a file public/images/DRCSportslogo.png

{{ HTML::image('images/DRCSportslogo.png', $alt="DRCSports", $attributes = array()) }}


Try

<img src="{{asset('images/DRCSportslogo.png')}}" alt="DRC Sports Race Management" id="DRCS-logo" />


There is no difference what you input there it can be .jpg, .png or even .exe or any other file on system.

You can see that in api page : L4 API HTML::image

Only thing i can suggest is to browse directly to the image you want to reach. In my experience sometimes ftp clients make false uploads (empty png files). That could be the case.