Closed (fixed)
Project:
Exif
Version:
7.x-1.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Reporter:
Created:
19 Jul 2012 at 03:37 UTC
Updated:
13 Mar 2016 at 18:34 UTC
Jump to comment: Most recent
The Drupal 7 version of the module doesn't seem to extract the exif data from images unless you check the "Refresh on node update" box on the settings page. But the title and description of the "Refresh on node update" box imply that it is for something else entirely: "If you enable this option, Exif data is being updated when the node is being updated." That suggests that checking the box will make the module re-load the exif data if a node is updated.
It seems that either the box needs to be updated to say "Enable the reading of exif data", or else the exif_field_attach_presave needs to be modified to not check if the exif_update setting is TRUE, like so:
function exif_field_attach_presave($obj_type, $object) {
if (($obj_type == 'node' || $obj_type == 'file') ) {
_exif_node_insert_update($obj_type,$object);
}
}
Comments
Comment #2
jphautin commentedThe behavior is as follow :
regards,