From: edward Date: Wed, 5 Oct 2016 08:38:37 +0000 (+0800) Subject: Images.php X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=d43241e63995d9b4cd3efc8b11ae042f95841a14 Images.php --- 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);