title: can't write image data to path in laravel using the Intervention library
body: <p>I am using Laravel 4.2 with the Intervention library,and  I am not sure why I am getting this problem when everything else seems to be right. here is the code: </p>
  
  <pre><code>Route::post('test',function()
  {
      // check if files was sent
      if(Input::hasFile('file'))
      {
          $image = Input::file('file');
          $filename = date('Y-m-d-H:i:s').'-'.$image-&gt;getClientOriginalName();
          $path = public_path('images/cars/'.$filename);
          Image::make($image-&gt;getRealPath())-&gt;resize(468,249)-&gt;save($path);
  
      } else {
          return Response::json(array('test'=&gt;false));
      }
  });
  </code></pre>
  
  <p>The error I am receiving is: </p>
  
  <blockquote>
    <p>Intervention \ Image \ Exception \ NotWritableException Can't write image data to path (C:\xampp\htdocs\jacars_project\public/images/cars/2014-08-26-03:41:39-icon_2034.png). </p>
  </blockquote>
  
  <p>Thanks in advance in helping me solve the problem</p>