--- imageapi_imagemagick.module.orig 2009-03-18 08:59:56.000000000 +0100 +++ imageapi_imagemagick.module.new 2009-03-25 18:14:12.906250000 +0100 @@ -191,7 +191,9 @@ function _imageapi_imagemagick_convert_e 1 => array('pipe', 'w'), // stdout 2 => array('pipe', 'w') // stderr ); - if ($h = proc_open($convert_path .' '. $command_args, $descriptors, $pipes)) { + //if ($h = proc_open($convert_path .' '. $command_args, $descriptors, $pipes)) { + $convert_path = 'convert'; + if ($h = proc_open($convert_path .' '. $command_args, $descriptors, $pipes, $_SERVER['DOCUMENT_ROOT'])) { $output = ''; while (!feof($pipes[1])) { $output .= fgets($pipes[1]);