From d43241e63995d9b4cd3efc8b11ae042f95841a14 Mon Sep 17 00:00:00 2001 From: edward Date: Wed, 5 Oct 2016 16:38:37 +0800 Subject: [PATCH] Images.php --- Images.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Images.php b/Images.php index 258cdf8b..f02dfc5b 100644 --- a/Images.php +++ b/Images.php @@ -232,9 +232,10 @@ class Pman_Core_Images extends Pman } // print_r($img);exit; $x = $img->toFileConvert(); - if (empty($this->as_mimetype)) { + if (empty($this->as_mimetype) || $img->mimetype == 'image/gif') { $this->as_mimetype = $img->mimetype; } + if (!$this->thumb) { $x->convert( $this->as_mimetype); $x->serve($this->method); -- 2.39.2