Browse Source

Merge branch 'ISLANDORA-132' into 6.x

pull/6/head
Ben Woodhead 13 years ago
parent
commit
93ccb6fe57
  1. 2
      plugins/ImageManipulation.inc

2
plugins/ImageManipulation.inc

@ -128,7 +128,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