Title: Combining EXIF Data into Description
Last modified: July 3, 2018

---

# Combining EXIF Data into Description

 *  Resolved [MrPhil](https://wordpress.org/support/users/mrphil/)
 * (@mrphil)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/combining-exif-data-into-description/)
 * 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](https://wordpress.org/support/users/dglingren/)
 * (@dglingren)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/combining-exif-data-into-description/#post-10459531)
 * 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 &](https://wordpress.org/support/topic/bulk-edit-title-alt-tag-descripion-and-so-on-broken-on/#post-9389349)
 * 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](https://wordpress.org/support/users/mrphil/)
 * (@mrphil)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/combining-exif-data-into-description/#post-10459994)
 * 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.

 * ![](https://ps.w.org/media-library-assistant/assets/icon-256x256.png?rev=973502)
 * [Media Library Assistant](https://wordpress.org/plugins/media-library-assistant/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/media-library-assistant/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/media-library-assistant/)
 * [Active Topics](https://wordpress.org/support/plugin/media-library-assistant/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/media-library-assistant/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/media-library-assistant/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [MrPhil](https://wordpress.org/support/users/mrphil/)
 * Last activity: [7 years, 10 months ago](https://wordpress.org/support/topic/combining-exif-data-into-description/#post-10459994)
 * Status: resolved