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 a1675e08..bacfbed9 100644 --- a/inc/image.php +++ b/inc/image.php @@ -172,7 +172,7 @@ public function resize() { global $config; - if($config['thumb_ext'] == 'gif') { + if(preg_match('/\.gif$/', $src)) { $this->image = new Imagick(); $this->image->setFormat('gif'); |
