Changeset 6920 for extensions/AMetaData
- Timestamp:
- Sep 14, 2010, 7:46:58 PM (14 years ago)
- Location:
- extensions/AMetaData
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/AMetaData/amd_aip_install.class.inc.php
r6919 r6920 381 381 foreach($listToAnalyze[0] as $val) 382 382 { 383 if($val['has_high']=== trueand $this->config['amd_UseMetaFromHD']=='y')383 if($val['has_high']==='true' and $this->config['amd_UseMetaFromHD']=='y') 384 384 { 385 385 $this->analyzeImageFile($path."/".dirname($val['path'])."/pwg_high/".basename($val['path']), $val['id']); -
extensions/AMetaData/amd_ajax.php
r6919 r6920 441 441 { 442 442 $imageId=$row['imageId']; 443 if($row['has_high']=== trueand $this->config['amd_UseMetaFromHD']=='y')443 if($row['has_high']==='true' and $this->config['amd_UseMetaFromHD']=='y') 444 444 { 445 445 $filename=$path."/".dirname($row['path'])."/pwg_high/".basename($row['path']); … … 586 586 //$mem1=memory_get_usage(); 587 587 //echo "memory before analyze:".$mem1."\n"; 588 if($row['has_high']=== trueand $this->config['amd_UseMetaFromHD']=='y')588 if($row['has_high']==='true' and $this->config['amd_UseMetaFromHD']=='y') 589 589 { 590 590 $returned.=$this->analyzeImageFile($path."/".dirname($row['path'])."/pwg_high/".basename($row['path']), $row['id']); -
extensions/AMetaData/amd_pip.class.inc.php
r6891 r6920 67 67 $this->pictureProperties['id']=$page['image_id']; 68 68 69 $sql="SELECT ti.path, tai.analyzed FROM ".IMAGES_TABLE." ti69 $sql="SELECT ti.path, tai.analyzed, ti.has_high FROM ".IMAGES_TABLE." ti 70 70 LEFT JOIN ".$this->tables['images']." tai ON tai.imageId = ti.id 71 71 WHERE ti.id=".$page['image_id'].";"; … … 73 73 if($result) 74 74 { 75 $hasHigh=''; 75 76 while($row=pwg_db_fetch_assoc($result)) 76 77 { 77 78 $filename=$row['path']; 79 $hasHigh=$row['has_high']; 78 80 $this->pictureProperties['analyzed']=$row['analyzed']; 79 81 } 80 82 $filename=$path."/".$filename; 81 } 83 84 if($hasHigh==='true' and $this->config['amd_UseMetaFromHD']=='y') 85 { 86 $filename=dirname($filename)."/pwg_high/".basename($filename); 87 } 88 } 89 90 82 91 83 92 $this->jpegMD->load( -
extensions/AMetaData/amd_root.class.inc.php
r6919 r6920 193 193 while($row=pwg_db_fetch_assoc($result)) 194 194 { 195 if($row['has_high']=== trueand $this->config['amd_UseMetaFromHD']=='y')195 if($row['has_high']==='true' and $this->config['amd_UseMetaFromHD']=='y') 196 196 { 197 197 $this->analyzeImageFile($path."/".dirname($row['path'])."/pwg_high/".basename($row['path']), $row['imageId']);
Note: See TracChangeset
for help on using the changeset viewer.