title: Adding an Image Input Element in Laravel Blade Template
body: <p>I want to upload a image using input tag in laravel Blade Template with the following line ..</p>
  
  <pre><code>{{ Form::image('blog/images/search_btn.gif', 'button_search', ['class' =&gt; 'button_search']) }}
  </code></pre>
  
  <p>But it continuously showing Error in the view page </p>
  
  <blockquote>
    <p>syntax error, unexpected 'content' (T_STRING), expecting ']'</p>
  </blockquote>
  
  <p>This is my View Page Code </p>
  
  <pre><code>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
  &lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
  &lt;head&gt;
  &lt;title&gt;@yield('title')&lt;/title&gt;
  &lt;meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /&gt;
  {!!Html::style('blog/style.css')!!}
  {!!Html::style('blog/js/cufon-yui.js')!!}
  {!!Html::script('blog/js/arial.js')!!}
  {!!Html::script('blog/js/cuf_run.js')!!}
  
  &lt;/head&gt;
  &lt;body&gt;
  &lt;div class="main"&gt;
    &lt;div class="header"&gt;
      &lt;div class="header_resize"&gt;
        &lt;div class="menu_nav"&gt; 
          &lt;ul&gt;
            &lt;li&gt;&lt;a href="index.html"&gt;Home&lt;/a&gt;&lt;/li&gt;
            &lt;li&gt;&lt;a href="support.html"&gt;Support&lt;/a&gt;&lt;/li&gt;
            &lt;li class="active"&gt;&lt;a href="about.html"&gt;About Us&lt;/a&gt;&lt;/li&gt;
            &lt;li&gt;&lt;a href="blog.html"&gt;Blog&lt;/a&gt;&lt;/li&gt;
            &lt;li&gt;&lt;a href="contact.html"&gt;Contact Us&lt;/a&gt;&lt;/li&gt;
          &lt;/ul&gt;
          &lt;div class="clr"&gt;&lt;/div&gt;
        &lt;/div&gt;
        &lt;div class="searchform"&gt;
          &lt;form id="formsearch" name="formsearch" method="post" action="#"&gt;
  
             {{ Form::image('blog/images/search_btn.gif', 'button_search', ['class' =&gt; 'button_search']) }}
            &lt;!--   {!! Html::image('blog/images/search_btn.gif', 'alt', array( 'class' =&gt; 'button_search' )) !!} 
             {{ Form::image('blog/images/search_btn.gif', 'button_search', ['class' =&gt; 'button_search]) }}
            &lt;input name="button_search" src="images/search_btn.gif" class="button_search" type="image" /&gt;--&gt;
  
            &lt;span&gt;
            &lt;input name="editbox_search" class="editbox_search" id="editbox_search" maxlength="80" value="Search" type="text" /&gt;
            &lt;/span&gt;
          &lt;/form&gt;
        &lt;/div&gt;
        &lt;div class="clr"&gt;&lt;/div&gt;
        &lt;div class="logo"&gt;
          &lt;h1&gt;&lt;a href="index.html"&gt;EnergyBox&lt;br /&gt;
            &lt;small&gt;put your slogan here&lt;/small&gt;&lt;/a&gt;&lt;/h1&gt;
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="content"&gt;
    @yield('content')
    &lt;/div&gt;
  &lt;div class="footer"&gt;
      &lt;div class="footer_resize"&gt;
        &lt;p class="lf"&gt;&amp;copy; Copyright MyWebSite. Designed by Blue &lt;a href="http://www.bluewebtemplates.com/"&gt;Website Templates&lt;/a&gt;&lt;/p&gt;
        &lt;ul class="fmenu"&gt;
          &lt;li&gt;&lt;a href="index.html"&gt;Home&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href="support.html"&gt;Support&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href="blog.html"&gt;Blog&lt;/a&gt;&lt;/li&gt;
          &lt;li class="active"&gt;&lt;a href="about.html"&gt;About Us&lt;/a&gt;&lt;/li&gt;
          &lt;li&gt;&lt;a href="contact.html"&gt;Contacts&lt;/a&gt;&lt;/li&gt;
        &lt;/ul&gt;
        &lt;div class="clr"&gt;&lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;div align=center&gt;This template  downloaded form &lt;a href='http://all-free-download.com/free-website-templates/'&gt;free website templates&lt;/a&gt;&lt;/div&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>