mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-11-28 01:10:51 +01:00
Don't animate thumbnails when impossible.
This commit is contained in:
parent
2a760de289
commit
81c9b612bc
@ -172,7 +172,7 @@
|
||||
public function resize() {
|
||||
global $config;
|
||||
|
||||
if(preg_match('/\.gif$/i', $src)) {
|
||||
if(preg_match('/\.gif$/i', $this->src) && $config['thumb_ext'] == 'gif') {
|
||||
$this->image = new Imagick();
|
||||
$this->image->setFormat('gif');
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user