title: getimagesize() read error laravel -blade-view
body: <p>I have a blade view file with this piece of code in it.</p>
  
  <pre><code>@if(count($news))
                          @foreach($news as $nieuwtje)
  
                          &lt;?php list($width, $height) = getimagesize(public_path() . '/uploads/nieuwtjes/small/' . $nieuwtje-&gt;image);  ?&gt;
                              &lt;li&gt;
  
                                  {{ HTML::image(public_path() . '/uploads/nieuwtjes/small/' . $nieuwtje-&gt;image,'', array('class' =&gt; 'scale-with-grid', 'height' =&gt; $height, 'width' =&gt; $width)); }}
                                  &lt;div class="slide-cnt"&gt;
                                      &lt;h2&gt;{{{$nieuwtje-&gt;title}}}&lt;/h2&gt;
                                      &lt;p&gt;{{{$nieuwtje-&gt;first_paragraph}}} &lt;/p&gt;
                                      &lt;a href="#" class="red-btn"&gt;Lees hier meer!&lt;/a&gt;
                                  &lt;/div&gt;
                              &lt;/li&gt;
                          @endforeach
                          @endif
  </code></pre>
  
  <p>It prints down the correct value when I echo the $width or $height.
  Can someone help me with this? </p>
  
  <p>Thanks !</p>