Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Forgive this stupid question, but I've been searching forever with no luck:
I create a text field of "metadata from image" widget type. I associate it with an image field in my content type and ask it to check for iptc_captions. I tell the EXIF module that I want it to check my content type for image metadata.
On node view edit pages, I don't see the text field. Uploading an image with IPTC caption data does not do anything.
Comments
Comment #1
vgutekunst CreditAttribution: vgutekunst commentedHi i have the same problem! I dont see any of the created fields, no title and no exif date output :-(
but the sample.jpg from the modul works!
whats wrong?
Comment #2
MattO77 CreditAttribution: MattO77 commentedFrom my understanding you have to create a new field in your content type with the name of the field what you want to display like "exif_model" or something. I still can't get it to work myself.
This module is documented HORRIBLY! We need a video guide or something, it's a mess. I've just installed it and already had to patch the "stable" release to avoid a white screen of death. Running into more problems now too. This module really need much better work, it's just sloppy.
Comment #3
firfin CreditAttribution: firfin commentedHave you guys tried the latest dev version? There were a lot a fixes lately that solved a lot of issues.
Are you sure you are using an jpg image and sure it has the fields you are looking for?
Current flow
- make sure you have configured exif general settings
Do one of:
- either create a core image type field, with image or media file selector widget
- or create a file type field, with media file selector widget
- create a field of type text (e.g. exif_value), with a 'metadata from image' widget
- edit this exif_value field:
-- set the image to get the metadata from using : 'image field to use to retreive data'
-- select the metadata you want using : 'exif field data '
This works fine for me using latest dev from exif module, media 2, file entity (although the last 2 aren't really necessary)
Comment #4
gjmokcb CreditAttribution: gjmokcb commentedI concur that firfin's solution should work. It's worked for me in the past. However, I've spent the last two days trying to get the module to retrieve exif_title. No go. I have no idea why it suddenly stopped functioning. I have tried every possible fix about seven times.
So I updated to the dev version, which created an error in my status report to the effect that the xmp library was missing from my server. So I got tech support to load the PHP xmp library, which made the error msg go away. The good news now is that the module will find the xmp_title data. The bad news is that it still won't find the exif_title data, and (worse yet) I now have an apparent inter-module conflict that wipes out the checkbox and radio button widgets for text fields and throws an error message. So that's a bad thing. Unacceptable.
This may help with debugging: The error msg that pops up re the conflict with check boxes, etc. is: Warning: Illegal offset type in isset or empty in field_ui_widget_type_options() (line 1471 of /home/server/public_html/modules/field_ui/field_ui.admin.inc)
Comment #5
gjmokcb CreditAttribution: gjmokcb commentedWhile thrashing around, I noticed that the dev module had been udated today. So I loaded the new dev version. Poof, suddenly things are working without error msgs.
I think a PHP Fairy was working on this. Thanks.
Comment #6
firfin CreditAttribution: firfin commentedDon't you just love that fairy? :-)
Comment #6.0
firfin CreditAttribution: firfin commentedspelling
Comment #7
jphautin CreditAttribution: jphautin as a volunteer commented