protected function handleImageUpload($imageFile)
    {
        // resize the image with given option
        $image = $this->resizeImage($imageFile, $this->uploadFieldOptions);

        // save the uploaded file on disk
        return $this->saveImage($imageFile, $image);
    }
protected function handleImageUpload($imageFile)
    {
        // resize the image with given option
        $image = $this->resizeImage($imageFile, $this->uploadFieldOptions);

        // save the uploaded file on disk
        return $this->saveImage($imageFile, $image);
    }
protected function handleImageUpload ( $ imageFile ) { // resize the image with given option $ image = $ this -> resizeImage ( $ imageFile , $ this -> uploadFieldOptions ) ; // save the uploaded file on disk return $ this -> saveImage ( $ imageFile , $ image ) ; }
Process image upload

@param $imageFile
@return string
@throws \Exception
Process image upload