image_import with EXIF data

DesignWork - October 17, 2007 - 20:16
Project:Image
Version:6.x-1.x-dev
Component:image_import
Category:feature request
Priority:normal
Assigned:Unassigned
Status:patch (code needs work)
Description

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

AttachmentSize
image_import.module_4.txt9.01 KB

#1

drewish - October 17, 2007 - 21:41
Category:bug report» feature request
Status:active» patch (code needs work)

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

#2

drewish - April 24, 2008 - 00:18
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.

#3

craptaculus - April 24, 2008 - 01:31

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

AttachmentSize
import_exif_comment.patch1.45 KB

#4

dman - August 21, 2008 - 03:04

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...

 
 

Drupal is a registered trademark of Dries Buytaert.