Is there any easy way to add EXIF information to images?

Comments

kmonty’s picture

I don't believe there is. Does anyone possibly know of a good module we could leverage?

dman’s picture

I'm using The PHP JPEG Metadata Toolkit (GPL of course)
I'm enjoying it because it also supports XMP - which is the future, and fits with my manufactured images. XMP has a semantic specification - better than the random tags that EXIF used to create.

I've got a metadata extractor in dev - that transfers such metadata from files directly into alts, image.module nodes, CCK fields, text overlays on imagecache derivatives, and captions and things. Still in experimental phase, but PJMT is a good start.

dbeall’s picture

maybe? http://drupal.org/project/maqum, currently works using image.module

from the project page.
A Drupal 6 version is planned, but based on imagefield instead of image.
last commit was June08 for D5.

blackfox’s picture

I tried to use Exif with Node Gallery, but I couldn't get it to work. The CCK-fields which are configured to be filled by exif-module are not shown. When editing an 'image'-node and saving it without changes there are shown some errors:

* warning: exif_read_data() [function.exif-read-data]: Not a file in /var/www/web610/html/drupal/sites/all/modules/exif/exif.class.php on line 63.
* warning: Invalid argument supplied for foreach() in /var/www/web610/html/drupal/sites/all/modules/exif/exif.class.php on line 65.

I'm not sure if this is a bug in exif-module or in node gallery. But because of the CCK-fields work fine if I create a 'image'-node manually (not throughout node gallery) I think this is an issue of node gallery...

kmonty’s picture

Status: Active » Postponed

I think in version 3.x we'll integrate with CCK ImageField, which will make getting exif data easier.

dddave’s picture

Version: 6.x-2.0-alpha10 » 6.x-3.x-dev
Status: Postponed » Active

Just to put this back on the map.

scroogie’s picture

Someone should try using the Exif module with NG3. It's probably just a matter of showing the values on the full node view.

dbeall’s picture

when I try to use the EXIF module, I get an error
(The Function exif_read_data is not available on the system.)
I enabled the php_exif extension, still looking for the solution.
php 5.2.9-2

scroogie’s picture

Is the exif extension listed in phpinfo()? If you're in windows, you have to enable mbstring as well.

scroogie’s picture

So I tried this out. It should work from the integration part, but it requires manual work. You have to create a field on the image type for every exif information you want to show. This is just how the exif module works. For us it would imho be better to create a contrib module that calls exif_read_data() if it exists and extracts some hard-coded fields if existing.

Just my 2 cents.

justintime’s picture

Status: Active » Fixed

In the interest of keeping feature creep from getting out of control, I'll mark this particular issue as fixed. The OP now has an EXIF solution. I don't think too many users would use a submodule, but feel free to create a new issue if so.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.