<img src="../../images/info.png" style="width:15px;" />
											</a>
											<div id="targetpathinfodialog">
												Web server path to where the image derivatives will be depositied. 
												The web server (e.g. apache user) must have read/write access to this directory.
												If this field is left blank, the portal's default image target (imageRootPath) will be used.
											</div>
										</div>
									</div>
									<div id="urlbaserow" style="clear:both;">
										<div style="width:180px;float:left;">
											<b>Image URL base:</b>
										</div>
										<div style="float:left;"> 
											<input name="imgurl" type="text" style="width:400px;" value="<?php 
            echo $specManager->getImgUrlBase();
            ?>
" />
											<a id="imgurlinfo" href="#" onclick="return false" title="More Information">
												<img src="../../images/info.png" style="width:15px;" />
											</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;">
Beispiel #2
0
     echo '<ul>';
     $imageProcessor->setLogMode(3);
     $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());
Beispiel #3
0
												<img src="../../images/info.png" style="width:15px;" />
											</a>
											<div id="targetpathinfodialog">
												Web server path to where the image derivatives will be depositied. 
												The web server (e.g. apache user) must have read/write access to this directory.
												If this field is left blank, the portal's default image target (imageRootPath) will be used.
											</div>
										</div>
									</div>
									<div id="urlbaserow" style="clear:both;">
										<div style="width:180px;float:left;">
											<b>Image URL base:</b>
										</div>
										<div style="float:left;"> 
											<input name="imgurl" type="text" style="width:400px;" value="<?php 
            echo $specManager->getImgUrlBase() ? $specManager->getImgUrlBase() : $IMAGE_ROOT_URL;
            ?>
" />
											<a id="imgurlinfo" href="#" onclick="return false" title="More Information">
												<img src="../../images/info.png" style="width:15px;" />
											</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;">