Merge pull request #440 from discomrade/patch-1

Fix custom thumb_ext when using ImageMagick convert
This commit is contained in:
27chan
2022-06-06 22:06:16 -03:00
committed by GitHub

View File

@@ -311,7 +311,7 @@ class ImageConvert extends ImageBase {
$this->destroy(); $this->destroy();
} }
$this->temp = tempnam($config['tmp'], 'convert'); $this->temp = tempnam($config['tmp'], 'convert') . ($config['thumb_ext'] == '' ? '' : '.' . $config['thumb_ext']);
$config['thumb_keep_animation_frames'] = (int)$config['thumb_keep_animation_frames']; $config['thumb_keep_animation_frames'] = (int)$config['thumb_keep_animation_frames'];