diff options
| author | Michael Save <savetheinternet@tinyboard.org> | 2012-03-12 18:54:05 +1100 |
|---|---|---|
| committer | Michael Save <savetheinternet@tinyboard.org> | 2012-03-12 18:54:05 +1100 |
| commit | 77c256157ff0cb06ca4166610516eba970a55ef5 (patch) | |
| tree | a91b01e68edd174592245f4f6f2571bb19ff2af3 /inc/image.php | |
| parent | 85a6f32e890313e13a0a1db76f4c28c24659ed07 (diff) | |
small mistake in thumbnail animation. was trying to animate all formats (not just GIF).
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'); |
