From 8b4f3c3754eb842f1299555277fd5717ccc18501 Mon Sep 17 00:00:00 2001 From: Savetheinternet Date: Thu, 28 Jul 2011 20:25:06 +1000 Subject: [PATCH] patched bug/issue #24 --- inc/image.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/inc/image.php b/inc/image.php index 6c5733b3..5c8e3321 100644 --- a/inc/image.php +++ b/inc/image.php @@ -163,7 +163,8 @@ return $this->image->destroy(); } public function resize() { - $this->image = $this->original; + $this->image = $this->original->clone(); + $this->image->scaleImage($this->width, $this->height, false); } }