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:
parent
6dbaaef313
commit
092b4cb946
@ -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');
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user