Laravel 5.2 - Intervation Image resize
<p>i'm tryng to resize image of user profile, but i have this error: </p>

<blockquote>
  <p>NotReadableException in Decoder.php line 96: Unable to init from given
  binary data.</p>
</blockquote>

<p>MY CONTROLLER </p>

<pre><code>public function updateAvatar(Request $request){

    if ($request-&gt;hasFile('image')) {

        $user_id = Auth::user()-&gt;id . '.' . $request-&gt;file('image')-&gt;getClientOriginalExtension();

        // if i insert here: retur $user_id it return: 1.jpg it work well, 
        // my form work well, before i tryed to upload without resize and it work well. 
        // i want save image uploaded with id user and extention 
        // here i'm tryng to resize it, i installed intervation and inserted class 

        $img = Image::make('images/users',$user_id);
        $img-&gt;resize(100, 100);
        $img-&gt;save('images/users',$user_id);        
        $user = new User;

         $user-&gt;where('email', '=', Auth::user()-&gt;email)

              -&gt;update(['image' =&gt; 'images/users/'.$user_id]);
        return redirect('account')-&gt;with('message-success', 'Immagine profilo aggiornata con successo!');

    }else{
        return redirect('account')-&gt;with('message-error', 'File non trovato');
    }
    }
</code></pre>