src/Lib/ImageTransform.php
protected function thumbnailResize(Image $image, $width, $height)
    {
        return $image->resize($width, $height, function ($constraint) {
            $constraint->aspectRatio();
        });
    }
protected function thumbnailResize(Image $image, $width, $height)
    {
        return $image->resize($width, $height, function ($constraint) {
            $constraint->aspectRatio();
        });
    }
protected function thumbnailResize ( Image $ image , $ width , $ height ) { return $ image -> resize ( $ width , $ height , function ( $ constraint ) { $ constraint -> aspectRatio ( ) ; } ) ; }
Resize current image

@see http://image.intervention.io/api/resize

@param \Intervention\Image\Image $image Image instance
@param int $width Desired width in pixels
@param int $height Desired height in pixels

@return \Intervention\Image\Image
Resize current image