Browse Source

Fix thumb_ext being ignored

pull/40/head
discomrade 3 years ago
committed by towards-a-new-leftypol
parent
commit
ceba6648aa
  1. 2
      inc/image.php

2
inc/image.php

@ -312,7 +312,7 @@ class ImageConvert extends ImageBase {
$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'];

Loading…
Cancel
Save