small mistake in thumbnail animation. was trying to animate all formats (not just GIF).
This commit is contained in:
parent
85a6f32e89
commit
77c256157f
@ -172,7 +172,7 @@
|
|||||||
public function resize() {
|
public function resize() {
|
||||||
global $config;
|
global $config;
|
||||||
|
|
||||||
if($config['thumb_ext'] == 'gif') {
|
if(preg_match('/\.gif$/', $src)) {
|
||||||
$this->image = new Imagick();
|
$this->image = new Imagick();
|
||||||
$this->image->setFormat('gif');
|
$this->image->setFormat('gif');
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user