title: Intervention causing reload of page?
body: <p>I'm probably using it wrong and not understanding the purpose properly. But as a simple test, I added the following in my "master.blade.php" file:</p>
  
  <pre><code>if (!file_exists('images/cache/clients/'.$image)) {
      $img = Image::make('images/clients/'.$image)-&gt;resize(null, 50, true);
      $img-&gt;save('images/cache/clients/'.$image);
  }
  </code></pre>
  
  <p>The problem is that when it hits this code, it basically reloads the entire frontpage. SO I see the content twice. It's like the make function actually does some header response of some kind.</p>
  
  <p>All I want to do is resize the image, and save it to another location. What am I missing?</p>
  
  <p><strong>UPDATE</strong></p>
  
  <p>I have this in my composer.json file:</p>
  
  <pre><code>"require": {
          "laravel/framework": "4.1.*",
          "way/generators": "dev-master",
          "laravelbook/ardent": "dev-master",
          "codesleeve/stapler": "dev-master",
          "phpseclib/phpseclib": "0.3.*",
          "chumper/datatable": "dev-master",
          "moltin/laravel-cart": "dev-master",
          "intervention/image": "1.*",
          "opauth/opauth": "0.4.x",
          "artdarek/oauth-4-laravel": "dev-master"
  },
  </code></pre>
  
  <p>I am unsure whether this should be added anywhere:</p>
  
  <pre><code>use Intervention\Image\Image;
  </code></pre>
  
  <p>(<a href="http://image.intervention.io/getting_started/installation" rel="nofollow">this page</a> isn't exact if this should be added for laravel, or where it should be added for laravel)</p>
  
  <p>I've got:</p>
  
  <pre><code>GD bundled (2.1.0 compatible)
  PHP 5.5.11
  </code></pre>
  
  <p>Any ideas what's wrong?</p>
  
  <p><strong>UPDATE2</strong></p>
  
  <p>Make just does this:</p>
  
  <pre><code>public static function make($source)
  {
      return new static($source);
  }
  </code></pre>
  
  <p>I've tried wrapping make around an exception, no luck. But even if I do this:</p>
  
  <pre><code>public static function make($source)
  {
      $bla = new static($source);
      print 'xxx'; die();
  }
  </code></pre>
  
  <p>I don't see the print 'xxx' happening. If I put it before the "new static" part, I do see it. So basically, it's bombing on "new static". Is there any reason why this should happen on PHP 5.5?</p>
  
  <p>** THINK I GOT IT **</p>
  
  <p>I took everything out and placed it before the app even runs. Now I get this error:</p>
  
  <pre><code>Symfony \ Component \ Debug \ Exception \ FatalErrorException
  Call to undefined function Intervention\Image\finfo_buffer()
  </code></pre>
  
  <p><a href="https://github.com/Intervention/image/issues/22" rel="nofollow">This</a> is saying libjpeg might be the issue, but it seems I do have it in my PhpInfo:</p>
  
  <pre><code>libJPEG Version 9 compatible
  </code></pre>
  
  <p>I'm running xampp, and apparrently I need this in the php.ini file:</p>
  
  <pre><code> extension=php_fileinfo.dll
  </code></pre>
  
  <p>I've added it but have to restart my machine to see the effect (dont ask, my xampp is broken)... will report back in a sec.</p>