Browse Source

Merge pull request #6 from bwoodhead/6.x

Merged in ISLANDORA-132
pull/7/merge
Ben Woodhead 13 years ago
parent
commit
712be926cf
  1. 2
      plugins/ImageManipulation.inc

2
plugins/ImageManipulation.inc

@ -128,7 +128,7 @@ class ImageManipulation {
else {
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') {
$_SESSION['fedora_ingest_files']["TN"] = $file . '-tn.jpg';
}

Loading…
Cancel
Save