I can't get exif 7.x-1.2 to work with taxonomy - seems to be a bug, but maybe I'm misunderstanding the documentation (I found it very confusing so that's quite likely).

The symptoms are very similar to http://drupal.org/node/1372870 and http://drupal.org/node/1371662 and http://drupal.org/node/1461576 but none of the fixes mentioned there have worked for me.

Here's what I'm trying to achieve: I have a few thousand pictures stored on a server at full resolution (but JPG compressed) and tagged with EXIF descriptions. I'd like to display them in album pages or slideshows including their descriptions at lower resolution. Previously I used Drupal 6 and Gallery2 to achieve this but both of those are near retirement so I'm trying to do it all in Drupal 7. You can see an example at www.mckerracher.net/album. This exif module seems to be the way forward but I can't find the magic configuration that works (though I know it exists).

The first problem I found was that all the exif data is stripped if images are downsized as they are imported. I tried importing at full resolution to avoid this but it crashed the server (a VPS with 1 GB of RAM). So it seems I will have to download all my images, resize them and upload them all again. It works but it will cost me many hours of effort. Does anyone know a better way?

Anyway, I successfully created an image content type with appropriately named text fields and image metadata widgets, and exif data is loaded into those fields, so I think I will be able to use views to sort and display them that way. But it would work better using taxonomy and I'd like to know if that's possible before I spend hours re-uploading images. So far it doesn't seem to work at all.

Specifically, these steps from http://drupal.org/node/1371662 would seem to be what is required, but my vocabulary is empty after I follow them:
1/ activate the plugin on content types or media types where you want to display tags
2/ create a dictionnary (photography's tags)
3/ ensure you have an image field in your content type or media type
4/ create taxonomy field on the content type or media type with the right name (example : exif_model) and select the correct image field from where you want to extract information
5/ test it by uploading a photo

I know some people have managed to get this working. What's the trick?

Comments

jphautin’s picture

Assigned: Unassigned » jphautin
OnkelTem’s picture

Version: 7.x-1.2 » 7.x-1.x-dev
Priority: Normal » Major

After 30 minutes of manipulation with it's settings and checkboxes still nothing seems to work: it neither saves metadata into fields, nor it creates terms. Setting to major. Also changing version to dev.

jphautin’s picture

Priority: Major » Critical

This is the aim of this module. Put it to critical.

can you upload an image you work on that does not work with the exif module ?
Do you have try to upload the sample image of the module to check if this is not a issue with your image ?

regards,

peterbkk’s picture

On my site I have set the exif module to use the vocabulary camera and then a term reference field on the content type with using meta data and getting the exif_model.

I upload a picture and on the node's page, the exif term is there and correct. But when I got into the vocabulary there are no terms.

No idea on how to fix.

sodome’s picture

@ philmck :
I'm uncertain if this is relevant or helpful, but my recollection is that the library with which we process images (e.g. the downsizing you need to do to display at reasonable web sizes) can either strip out or respect metadata. I believe GD strips it, Imagemagick retains it. If you hadn't already considered this, try switching your processing tool?

My last try with EXIF in combination with Media Gallery was not astoundingly successful overall, but exif found all my data and managed to map it wherever I assigned. That's a tremendous improvement over what seemed possible a year ago. Good luck!

jphautin’s picture

Status: Active » Closed (cannot reproduce)

I recheck against the last version and everything is fine using default drupal installation. If you use GD, please change, it seems to have some issue on length or even to loose the metafata (exif, iptc) from the jpg. see #2550365: Image Processing with GD or Image Magic.