diff --git a/core/components/imagecropper/processors/mgr/crop.class.php b/core/components/imagecropper/processors/mgr/crop.class.php index 17c5d5a..3988eeb 100644 --- a/core/components/imagecropper/processors/mgr/crop.class.php +++ b/core/components/imagecropper/processors/mgr/crop.class.php @@ -130,7 +130,7 @@ public function process() if ($result) { if ($this->source->createObject($imagePath, $cropName, $result) - || $this->source->updateObject($imagePath, $cropName, $result) + || $this->source->updateObject($imagePath . $cropName, $result) ) { $url = $this->source->getObjectUrl($imagePath . $cropName); return $this->success($this->modx->lexicon('imagecropper.success_image'), [