Dear Maintainers,

I found it nice to have some EXIF data in the node body when i uplaod a file. I changed a bit the image_import module.
Why because every body is photographing with digital cameras and all of them have EXIF, so in a first step i just put the image description into th node body. If there is no description it stays the same.

So i will attach the changed module. Maybe we should thing to make more data availible for the user, or even a admin menu to chose wich data should be displayed. The module runs on www.visum-reportagen.de/collections/liste/Beruf+und+Karriere

Warm regards from cologne.

Dirk

Comments

drewish’s picture

Category: bug » feature
Status: Active » Needs work

please post a patch of the changes. it makes it much easier to see what you've done: http://drupal.org/patch

drewish’s picture

Version: 5.x-1.5 » 6.x-1.x-dev

marked #250032: Base title and body on exif COMMENT tag during import as a duplicate. also this needs to happen in HEAD and then possibly be backported to the 5.x-2.x branch.

craptaculus’s picture

StatusFileSize
new1.45 KB

Here's a patch which implements the basic functionality. It needs to be tested with more different images with comments inserted with different applications.

dman’s picture

Note that I did a similar job here - using flat-file metadata not EXIF - but by adding a HOOK in pretty much the same place you added the exif reader ... so the metadata retrieval process can be outsourced to any number of different processes.
The exif_reader can easily then be added on as a contrib function. as can a CSV reader, an XML reader, or any sort of data-finder.

I proposed that a hook method is just that much cleaner...

sun’s picture