From 77c256157ff0cb06ca4166610516eba970a55ef5 Mon Sep 17 00:00:00 2001 From: Michael Save Date: Mon, 12 Mar 2012 18:54:05 +1100 Subject: [PATCH] small mistake in thumbnail animation. was trying to animate all formats (not just GIF). --- inc/image.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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');