diff options
| author | Savetheinternet <savetheinternet@tinyboard.org> | 2011-07-12 20:31:18 +1000 |
|---|---|---|
| committer | Savetheinternet <savetheinternet@tinyboard.org> | 2011-07-12 20:31:18 +1000 |
| commit | b52e2b1eb301e9acbab65b91e29f9d2d9ea98275 (patch) | |
| tree | d20c5f90bc1f471d5164c0a4a6f128a661e0e4fe | |
| parent | 97979b79992474d342404f76a61936c456c0565d (diff) | |
ommit image errors
| -rw-r--r-- | inc/image.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/inc/image.php b/inc/image.php index d5dfd494..eea33336 100644 --- a/inc/image.php +++ b/inc/image.php @@ -126,7 +126,7 @@ class ImagePNG extends ImageBase { public function from() { - $this->image = imagecreatefrompng($this->src); + $this->image = @imagecreatefrompng($this->src); } public function to($src) { global $config; @@ -143,7 +143,7 @@ class ImageGIF extends ImageBase { public function from() { - $this->image = imagecreatefromgif($this->src); + $this->image = @imagecreatefromgif($this->src); } public function to($src) { imagegif($this->image, $src); @@ -158,7 +158,7 @@ class ImageJPG extends ImageBase { public function from() { - $this->image = imagecreatefromjpeg($this->src); + $this->image = @imagecreatefromjpeg($this->src); } public function to($src) { imagejpeg($this->image, $src); @@ -169,7 +169,7 @@ class ImageBMP extends ImageBase { public function from() { - $this->image = imagecreatefrombmp($this->src); + $this->image = @imagecreatefrombmp($this->src); } public function to($src) { imagebmp($this->image, $src); |
