Hi,
I have looked in drupal for a way to display exif information for image nodes in a way as integrated as possible with the modules that I'm using. I couldn't find anything.
My problem was that I had a high number of images (over 100), uploaded to drupal with image_pub, which had the date of the upload instead of the date of the creation. While this is sensible, it creates some problems in the image gallery (image_gallery.module), because over there the images are order by the date in which they are inserted in drupal, not by the creation date.
There might be other ways to address the problem, but what I did was doing a bulk update of the timestamp of my image nodes, to fix the order of the images in the gallery.
This does not solve the situation for new nodes. New nodes will still be created with the current timestamp. I'm going to address the problem another time...
As I have seen that several persons had similar problems, I'm posting here the code that I have used:
<?php
$sql = "select {files}.filename, {files}.filepath, {node}.created, {node_revisions}.timestamp, {node_revisions}.nid,{node_revisions}.vid
from {node_revisions}, {node}, {files}
where {node_revisions}.vid = {node}.vid
and {node}.nid = {files}.nid
and type = 'image'
and {node}.created is not NULL
and {node_revisions}.timestamp is not NULL
order by {node_revisions}.vid DESC";