diff options
| author | Savetheinternet <savetheinternet@tinyboard.org> | 2011-07-28 20:25:06 +1000 |
|---|---|---|
| committer | Savetheinternet <savetheinternet@tinyboard.org> | 2011-07-28 20:25:06 +1000 |
| commit | 8b4f3c3754eb842f1299555277fd5717ccc18501 (patch) | |
| tree | 886c127854f050014cd66e3eba7f11255ea10c13 /inc/image.php | |
| parent | 0c41f53e6241a6e65766c7cec5dc4b0f3f05616d (diff) | |
patched bug/issue #24
Diffstat (limited to 'inc/image.php')
| -rw-r--r-- | inc/image.php | 3 |
1 files changed, 2 insertions, 1 deletions
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); } } |
