I think you need to do: Image::make($request->file('image'))->fit(200)->save()
Sep 7, 2016
5
Level 3
Thumbnail with Intervention - 5.3
The Laracast regarding images is invalid for 5.3 as the upload simply becomes: if ( isset($request->image) ) {$path = $request->file('image')->store('public/users');
This is fine and I store $path in a db. Now I want to also add a thumbnail from this so I added: Image::make($request->image)->fit(200)->save() but I get NotSupportedException in AbstractEncoder.php line 150: Encoding format (tmp) is not supported.
Help please!
Level 3
I sorted this out in another question - https://laracasts.com/discuss/channels/laravel/53-image-source-not-readable
1 like
Please or to participate in this conversation.