</a>
											<div id="sourcepathinfodialog">
												Server path to folder containing source images.
												If a URL (e.g. http://) is supplied, the web server needs to be configured to list 
												all files within the directory, or the html output needs to list all images in anchor tags.
												Scripts will attempt to crawl through all child directories.
											</div>
										</div>
									</div>
									<div id="targetpathrow" style="clear:both;">
										<div style="width:180px;float:left;">
											<b>Image target path:</b>
										</div>
										<div style="float:left;"> 
											<input name="targetpath" type="text" style="width:400px;" value="<?php 
            echo $specManager->getTargetPath();
            ?>
" />
											<a id="targetpathinfo" href="#" onclick="return false" title="More Information">
												<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>
Beispiel #2
0
     $imageProcessor = new ImageProcessor();
     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()) {
Beispiel #3
0
											</a>
											<div id="sourcepathinfodialog">
												Server path to folder containing source images. The path should be absolute and the web server (e.g. apache) should have read/write access. 
												If a URL (e.g. http://) is supplied, the web server needs to be configured to publically list 
												all files within the directory, or the html output can simily list all images within anchor tags.
												In all cases, scripts will attempt to crawl through all child directories.
											</div>
										</div>
									</div>
									<div id="targetpathrow" style="clear:both;">
										<div style="width:180px;float:left;">
											<b>Image target path:</b>
										</div>
										<div style="float:left;"> 
											<input name="targetpath" type="text" style="width:400px;" value="<?php 
            echo $specManager->getTargetPath() ? $specManager->getTargetPath() : $IMAGE_ROOT_PATH;
            ?>
" />
											<a id="targetpathinfo" href="#" onclick="return false" title="More Information">
												<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>