mirror of
https://github.com/vichan-devel/vichan.git
synced 2025-02-18 03:37:35 +01:00
small mistake in thumbnail animation. was trying to animate all formats (not just GIF).
This commit is contained in:
parent
6dbaaef313
commit
092b4cb946
@ -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…
x
Reference in New Issue
Block a user