• Resolved MrPhil

    (@mrphil)


    Is it possible when importing images to take the filename (without the extension) and the location and create a Description of “FileName: ” + EXIF_Filename + “Location: ” + EXIF_Location ?

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author David Lingren

    (@dglingren)

    Thanks for your question. You can fill the Description field when uploading images by defining an IPTC/EXIF mapping rule, and you can use a Content Template to compose the value from multiple data sources. You can find detailed instructions in this earlier topic:

    Bulk Edit: Title, Alt Tag, descripion and so on broken on &

    That topic is about editing ALT Text values; just substitute “Description” for your application. Where you see template:[+file_name+] you can substitute the appropriate Content Template for your application.

    You wrote “create a Description of “FileName: ” + EXIF_Filename + “Location: ” + EXIF_Location“. The file name portion is easy, but the location portion depends on how the metadata is embedded in your images. The EXIF “standard” includes GPS information like latitude and longitude, but there’s no standard element for a textual location name. You can find some information in the “Field-level enhanced EXIF GPS values” section of the Settings/Media Library Assistant Documentation tab. The IPTC standard defines a content-location-name; see the “Field-level IPTC Identifiers and Friendly Names” section of the Documentation for that.

    If you can post a link to one or more of your images I am happy to analyze the metadata and suggest specific IPTC, EXIF or XMP elements that look like locations. I can give you contact information if sending them by email is better for you.

    In the interim, here is a Content Template that shows one possible solution:

    template:(FileName: [+name_only+]( Location: [+iptc:2#027+]))

    In this example I’ve used the IPTC location name as the location value; that may or may not work for your images. The parentheses around the location part will remove it from the template output when the IPTC field is empty.

    I hope that gets you started on a solution for your application. I will leave this topic unresolved for now in case you need more specific help in finding the location values in your image(s). Thanks for your interest in the plugin.

    Thread Starter MrPhil

    (@mrphil)

    Excellent thanks and that works; well the location I needed was the sub-location field from Lightroom which I found was IPTC:2#092. So my template was: –

    template:(FileName: [+name_only+]( Location: [+iptc:2#092+]))

    ??

    Thanks

    Phil

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Combining EXIF Data into Description’ is closed to new replies.