I have just installed the exif module today. On the whole it is working fine.

But although I have selected Aperture, it is not being displayed. I have checked the image file (JPEG) with exiftool, and it is there OK.

Also, neither the Lens nor Lens ID fields are available to be selected. I guess in this case it is an enhancement request, rather than a bug report, but I've tagged it on anyaway. I am a Drupal 5 user.

Comments

achernen’s picture

Version: 5.x-1.1 » 6.x-1.2

the same problem for drupal 6
would love to see lense ID and aperture, not fnumber. Fnumber shows correct aperture, but it is not obvious what it is, for example if it is 4/1 (which is f/4), or 72/10 (which is f/7,2)

rapsli’s picture

this is the way it's written into exif. I guess you could use some output formatting for CCK fields to get it right. Use theme Developer to find out how to overwrite it.

acsooley’s picture

rhache’s picture

Here's the php that I used to display the fnumber correctly.

//Calculating F-stop
if ($node->field_exif_fnumber[0]['value']) {
	$photo_fnumber = explode('/', $node->field_exif_fnumber[0]['value']);
	$exif_fstop = 'f/';
	$exif_fstop .= $photo_fnumber[0] / $photo_fnumber[1];
}

This would work in a node tpl, and could be easily adapted for a cck field override. Please note that I'm a NOT pro php programmer, so if anybody can verify that my code is kosher, that would be great.

Rene

asb’s picture

Version: 6.x-1.2 » 6.x-1.x-dev
Category: bug » feature

Such formatters should be provided by this module, or contributed add-on modules. Changing to feature request.

jphautin’s picture

Issue summary: View changes
Status: Active » Closed (outdated)

drupal 6 EOL