if ($specManager->getWebPixWidth()) { $imageProcessor->setWebPixWidth($specManager->getWebPixWidth()); } if ($specManager->getTnPixWidth()) { $imageProcessor->setTnPixWidth($specManager->getTnPixWidth()); } if ($specManager->getLgPixWidth()) { $imageProcessor->setLgPixWidth($specManager->getLgPixWidth()); } if ($specManager->getWebMaxFileSize()) { $imageProcessor->setWebFileSizeLimit($specManager->getWebMaxFileSize()); } if ($specManager->getLgMaxFileSize()) { $imageProcessor->setLgFileSizeLimit($specManager->getLgMaxFileSize()); } if ($specManager->getJpgQuality()) { $imageProcessor->setJpgQuality($specManager->getJpgQuality()); } $imageProcessor->setUseImageMagick($specManager->getUseImageMagick()); $imageProcessor->setWebImg($_POST['webimg']); $imageProcessor->setTnImg($_POST['createtnimg']); $imageProcessor->setLgImg($_POST['createlgimg']); $imageProcessor->setCreateNewRec($_POST['createnewrec']); $imageProcessor->setImgExists($_POST['imgexists']); $imageProcessor->setKeepOrig(0); //Run process $imageProcessor->batchLoadImages(); echo '</div>' . "\n"; } } elseif ($action == 'Process Output File') { //Process iDigBio Image ingestion appliance ouput file
<div id="lgpixwidthinfodialog"> Width of the large version of the image. If the source image is smaller than this width, the file will simply be copied over without resizing. Note that resizing large images may be limited by the PHP configuration settings (e.g. memory_limit). If this is a problem, having this value greater than the maximum width of your source images will avoid errors related to resampling large images. </div> </div> </div> <div id="jpgqualityrow" style="clear:both;"> <div style="width:180px;float:left;"> <b>JPG quality:</b> </div> <div style="float:left;"> <input name="jpgquality" type="text" style="width:50px;" value="<?php echo $specManager->getJpgQuality(); ?> " /> <a id="jpgcompressioninfo" href="#" onclick="return false" title="More Information"> <img src="../../images/info.png" style="width:15px;" /> </a> <div id="jpgcompressioninfodialog"> JPG quality refers to amount of compression applied. Value should be numeric and range from 0 (worst quality, smaller file) to 100 (best quality, biggest file). If null, 75 is used as the default. </div> </div> </div> <div id="thumbnailrow" style="clear:both;"> <div>