Browse Source

Fix last commit

pull/40/head
Michael Foster 11 years ago
parent
commit
169dc74938
  1. 2
      inc/image.php

2
inc/image.php

@ -294,7 +294,7 @@ class ImageConvert extends ImageBase {
error('Failed to resize image!');
}
} else {
if (shell_exec('convert ' . sprintf($config['convert_args'], $this->width, $this->height) .
if (shell_exec('convert -flatten ' . sprintf($config['convert_args'], $this->width, $this->height) .
escapeshellarg($this->src . '[0]') . " " . escapeshellarg($this->temp)) || !file_exists($this->temp))
error('Failed to resize image!');
}

Loading…
Cancel
Save