From 0d6a5e237b68832ab498e313bd618d3bef593343 Mon Sep 17 00:00:00 2001 From: Michael van Schaik Date: Tue, 25 Oct 2016 16:03:46 +0200 Subject: [PATCH] Update FocusPointCropImage to handle control to owner --- code/FocusPointCropImage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/FocusPointCropImage.php b/code/FocusPointCropImage.php index 9326aff..32f22fb 100755 --- a/code/FocusPointCropImage.php +++ b/code/FocusPointCropImage.php @@ -85,7 +85,7 @@ public function CroppedFocusedImage($width, $height, $upscale = true) $cropped_img->FocusY = $img->FocusY * ($cropData->originalHeight / $img->height); $cropped_img->CropData = null; // unset so we offset-crop only once // and recurse - return $cropped_img; //->CroppedFocusedImage($width, $height, $upscale); + return $cropped_img->CroppedFocusedImage($width, $height, $upscale); } // delegate to FocusPointImage class