1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-25 16:00:22 +01:00

small mistake in thumbnail animation. was trying to animate all formats (not just GIF).

This commit is contained in:
Michael Save 2012-03-12 18:54:05 +11:00
parent 6dbaaef313
commit 092b4cb946

View File

@ -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');