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
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | import_exif_comment.patch | 1.45 KB | craptaculus |
| image_import.module_4.txt | 9.01 KB | designwork |
Comments
Comment #1
drewish commentedplease post a patch of the changes. it makes it much easier to see what you've done: http://drupal.org/patch
Comment #2
drewish commentedmarked #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.
Comment #3
craptaculus commentedHere's a patch which implements the basic functionality. It needs to be tested with more different images with comments inserted with different applications.
Comment #4
dman commentedNote 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...
Comment #5
sunMarking as duplicate of #256195: Enhance image_import by allowing submitter to provide captions (plus a general-case solution)