title: Intervention / Image Upload Error {{ Image source not readable }}
body: <p>I am trying to add a profile image upload in <strong>Laravel 5.1</strong>. I used the <code>Intervention/Image</code> Package but when I try to upload the image I get this error:</p>
  
  <blockquote>
    <p>NotReadableException in AbstractDecoder.php line 302: Image source not readable</p>
  </blockquote>
  
  <p><strong><em>This is my PhotoController:</em></strong></p>
  
  <pre><code>&lt;?php
  
  namespace App\Http\Controllers;
  
  use Illuminate\Http\Request;
  use Image;
  use Input;
  use App\Http\Requests;
  use App\Http\Controllers\Controller;
  
  class PhotoController extends Controller
  {
      /**
       * Display a listing of the resource.
       *
       * @return \Illuminate\Http\Response
       */
      public function index() {}
  
      /**
       * Show the form for creating a new resource.
       *
       * @return \Illuminate\Http\Response
       */
      public function create() {}
  
      /**
       * Store a newly created resource in storage.
       *
       * @param  \Illuminate\Http\Request  $request
       * @return \Illuminate\Http\Response
       */
      public function store(Request $request)
      {
          $img = Image::make($request-&gt;file('photo')); 
          $img-&gt;save('image.png');  
      }
  
      /**
       * Display the specified resource.
       *
       * @param  int  $id
       * @return \Illuminate\Http\Response
       */
      public function show($id) {}
  
      /**
       * Show the form for editing the specified resource.
       *
       * @param  int  $id
       * @return \Illuminate\Http\Response
       */
      public function edit($id) {}
  
      /**
       * Update the specified resource in storage.
       *
       * @param  \Illuminate\Http\Request  $request
       * @param  int  $id
       * @return \Illuminate\Http\Response
       */
      public function update(Request $request, $id) {}
  
      /**
       * Remove the specified resource from storage.
       *
       * @param  int  $id
       * @return \Illuminate\Http\Response
       */
      public function destroy($id) {}
  }
  </code></pre>
  
  <p><strong><em>This is my html form:</em></strong></p>
  
  <pre><code>&lt;header&gt;
      &lt;div class="student_profile_sub_header w100"&gt;
          &lt;div class="container ccenter"&gt;
              &lt;div class="student_profile_name"&gt;
                  &lt;h4&gt;{{$student-&gt;name}} {{$student-&gt;surname}}&lt;/h4&gt;
              &lt;/div&gt;
              &lt;div class="student_profile_image"&gt;
                  &lt;img src="{{asset('assets/profile_image.png')}}"&gt;
              &lt;/div&gt;
  
              &lt;form method="POST" action="../student/profile/imageupload"&gt;
                  {!! csrf_field() !!}
                  &lt;input type="file" name="photo"&gt;
                  &lt;input type="submit" value="Upload Image" name="submit"&gt;
                  @foreach($errors-&gt;all() as $error)
                      &lt;li&gt;{{ $error }}&lt;/li&gt;
                  @endforeach
              &lt;/form&gt;
          &lt;/div&gt;
      &lt;/div&gt;
  &lt;/header&gt;
  </code></pre>