mirror of
https://github.com/vichan-devel/vichan.git
synced 2025-01-18 17:14:04 +01:00
Don't animate thumbnails when impossible.
This commit is contained in:
parent
9a133e87e5
commit
a4cacf53dd
@ -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…
x
Reference in New Issue
Block a user