Rework meta data display on photo page #45
@ -98,10 +98,10 @@ class ViewPhoto extends HTMLController
 | 
			
		||||
			$metaData['Shutter Speed'] = $exif->shutterSpeedFraction();
 | 
			
		||||
 | 
			
		||||
		if (!empty($exif->aperture))
 | 
			
		||||
			$metaData['Aperture'] = number_format($exif->aperture, 1);
 | 
			
		||||
			$metaData['Aperture'] = 'f/' . number_format($exif->aperture, 1);
 | 
			
		||||
| 
					
	
	
	
	
	
	
	
	 
					
					Aaron marked this conversation as resolved
					
						
						
							Outdated
						
					
				 
				 | 
			||||
 | 
			
		||||
		if (!empty($exif->focal_length))
 | 
			
		||||
			$metaData['Focal Length'] = $exif->focal_length;
 | 
			
		||||
			$metaData['Focal Length'] = $exif->focal_length . ' mm';
 | 
			
		||||
| 
					
	
	
	
	
	
	
	
	 
					
					Aaron marked this conversation as resolved
					
						
						
							Outdated
						
					
				 
				
				
					
						minnozz
						commented  
			
		Maybe re-add the  Maybe re-add the `mm` unit? 
			
			
		 | 
			||||
 | 
			
		||||
		if (!empty($exif->iso))
 | 
			
		||||
			$metaData['ISO Speed'] = $exif->iso;
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	
Maybe re-add the
f/prefix?