diff options
Diffstat (limited to 'inc/image.php')
| -rw-r--r-- | inc/image.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/image.php b/inc/image.php index f4fb01a3..c6a9e0b0 100644 --- a/inc/image.php +++ b/inc/image.php @@ -172,7 +172,7 @@ public function resize() { global $config; - if(preg_match('/\.gif$/i', $src)) { + if(preg_match('/\.gif$/i', $this->src) && $config['thumb_ext'] == 'gif') { $this->image = new Imagick(); $this->image->setFormat('gif'); |
