</a>
											<div id="imgurlinfodialog">
												Image URL prefix that will access the target folder from the browser.
												This will be used to create the image URLs that will be stored in the database.
												If absolute URL is supplied without the domain name, the portal domain will be assumed. 
												If this field is left blank, the portal's default image url will be used ($imageRootUrl).
											</div>
										</div>
									</div>
									<div id="centralwidthrow" style="clear:both;">
										<div style="width:180px;float:left;">
											<b>Central pixel width:</b>
										</div>
										<div style="float:left;"> 
											<input name="webpixwidth" type="text" style="width:50px;" value="<?php 
            echo $specManager->getWebPixWidth();
            ?>
" /> 
											<a id="webpixwidthinfo" href="#" onclick="return false" title="More Information">
												<img src="../../images/info.png" style="width:15px;" />
											</a>
											<div id="webpixwidthinfodialog">
												Width of the standard web image. 
												If the source image is smaller than this width, the file will simply be copied over without resizing. 
											</div>
										</div>
									</div>
									<div id="thumbwidthrow" style="clear:both;">
										<div style="width:180px;float:left;">
											<b>Thumbnail pixel width:</b> 
										</div>
Beispiel #2
0
     $imageProcessor->setCollid($collid);
     $imageProcessor->setSpprid($spprid);
     $imageProcessor->processIPlantImages($specManager->getSpecKeyPattern(), $specManager->getLastRunDate());
     echo '</ul>';
 } else {
     echo '<div style="padding:15px;">' . "\n";
     $imageProcessor = new ImageBatchProcessor();
     $imageProcessor->setLogMode(1);
     $imageProcessor->initProcessor();
     $imageProcessor->setCollArr(array($collid => array('pmterm' => $specManager->getSpecKeyPattern())));
     $imageProcessor->setDbMetadata(1);
     $imageProcessor->setSourcePathBase($specManager->getSourcePath());
     $imageProcessor->setTargetPathBase($specManager->getTargetPath());
     $imageProcessor->setImgUrlBase($specManager->getImgUrlBase());
     $imageProcessor->setServerRoot($serverRoot);
     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()) {
Beispiel #3
0
											</a>
											<div id="imgurlinfodialog">
												Image URL prefix that will access the target folder from the browser.
												This will be used to create the image URLs that will be stored in the database.
												If absolute URL is supplied without the domain name, the portal domain will be assumed. 
												If this field is left blank, the portal's default image url will be used ($imageRootUrl).
											</div>
										</div>
									</div>
									<div id="centralwidthrow" style="clear:both;">
										<div style="width:180px;float:left;">
											<b>Central pixel width:</b>
										</div>
										<div style="float:left;"> 
											<input name="webpixwidth" type="text" style="width:50px;" value="<?php 
            echo $specManager->getWebPixWidth() ? $specManager->getWebPixWidth() : $IMG_WEB_WIDTH;
            ?>
" /> 
											<a id="webpixwidthinfo" href="#" onclick="return false" title="More Information">
												<img src="../../images/info.png" style="width:15px;" />
											</a>
											<div id="webpixwidthinfodialog">
												Width of the standard web image. 
												If the source image is smaller than this width, the file will simply be copied over without resizing. 
											</div>
										</div>
									</div>
									<div id="thumbwidthrow" style="clear:both;">
										<div style="width:180px;float:left;">
											<b>Thumbnail pixel width:</b> 
										</div>