Support the ongoing development of Laravel.io →
posted 10 years ago
Requests
Last updated 2 years ago.
0

The 2nd argument to HTML::image() is alt-text, not attributes. Pass null (or better: nice alt text) to 2nd argument and your array to the third and you will be fine.

See: http://laravel.com/api/source-class-Illuminate.Html.HtmlBuilder.html#98-111

Last updated 2 years ago.
0
{{ HTML::image('/pb-assets/img/warning4.png', '', array('width'=>'120px','height'=>'30px')) }}
Last updated 2 years ago.
0

thanks guys it worked...

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

ubilli ubilli Joined 10 Jun 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.