Browse Source

ISLANDORA 132 - added escaped quotation marks to

pull/6/head^2
Alan Stanley 14 years ago
parent
commit
32b66440fd
  1. 2
      plugins/ImageManipulation.inc

2
plugins/ImageManipulation.inc

@ -98,7 +98,7 @@ class ImageManipulation {
else { else {
ObjectHelper::warnIfMisconfigured('ImageMagick'); ObjectHelper::warnIfMisconfigured('ImageMagick');
} }
exec("convert {$file}[0] -thumbnail x2000 -thumbnail x450 -resize '450x<' -resize 50% -fuzz 1% -trim +repage -gravity center -crop 200x200+0+0 +repage -format jpg -quality 100 $file-tn.jpg", $output, $returnValue); exec("convert \"{$file}\"[0] -thumbnail x2000 -thumbnail x450 -resize '450x<' -resize 50% -fuzz 1% -trim +repage -gravity center -crop 200x200+0+0 +repage -format jpg -quality 100 $file-tn.jpg", $output, $returnValue);
if ($returnValue == '0') { if ($returnValue == '0') {
$_SESSION['fedora_ingest_files']["TN"] = $file . '-tn.jpg'; $_SESSION['fedora_ingest_files']["TN"] = $file . '-tn.jpg';
} }

Loading…
Cancel
Save