Title: Update Post with EXIF data
Author: Mark Howells-Mead
Published: <strong>26 November 2015</strong>
Last modified: 30 September 2016

---

Search plugins

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/update-post-with-exif-data.svg)

# Update Post with EXIF data

 Oleh [Mark Howells-Mead](https://profiles.wordpress.org/markhowellsmead/)

[Download](https://downloads.wordpress.org/plugin/update-post-with-exif-data.1.3.1.1.zip)

 * [Details](https://ms.wordpress.org/plugins/update-post-with-exif-data/#description)
 * [Reviews](https://ms.wordpress.org/plugins/update-post-with-exif-data/#reviews)
 *  [Pemasangan](https://ms.wordpress.org/plugins/update-post-with-exif-data/#installation)
 * [Pembangunan](https://ms.wordpress.org/plugins/update-post-with-exif-data/#developers)

 [Support](https://wordpress.org/support/plugin/update-post-with-exif-data/)

## Description

If the appropriate checkboxes are selected in the Post submit box when saving the
Post, the plugin reads the EXIF data of the Post’s _Featured Image_ and adds Post
Tags and a custom meta value “_location_” containing the serialized GPS location
data of the image.

 * If the Post has no Featured Image, or if the Featured Image’s EXIF data is incomplete,
   then nothing happens.
 * The EXIF data is read directly from the image file, not from a database entry.
 * If standard values “GPSLongitude” and “GPSLatitude” are not available in the 
   Featured Image’s EXIF data, the post will not be updated with the custom meta
   field. (A pre-existing value will not be deleted, if this happens.)
 * When saving Post Tags, the standard taxonomy `post_tag` is set. If you need to
   modify this, for example in the case of a custom taxonomy, then you can use the
   filter hook `update-post-with-exif-data/post_taxonomy` to change it.
 * If you want to see the custom meta value containing serialized GPS location data
   in the WordPress backend, you’ll need to parse the data and add this field yourself.
   A good solution for this is the “Advanced Custom Fields” plugin by Elliot Condon,
   with field type “Google Map”.
 * Developers: see the code for a WordPress action hook `update-post-with-exif-data/
   no-gps`, which fires in the event that there is no valid GPS data available in
   the Featured Image.

## Installation

 1. Upload the plugin folder to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress

## Reviews

![](https://secure.gravatar.com/avatar/fc86d9dfbfc88c36be834763e00759fcd59197dee28515e1e4c85204c3abe013?
s=60&d=retro&r=g)

### 󠀁[Good job!](https://wordpress.org/support/topic/good-job-651/)󠁿

 [wellbeingtips](https://profiles.wordpress.org/wellbeingtips/) 25 Februari 2017
1 reply

Thanks!

 [ Read all 1 review ](https://wordpress.org/support/plugin/update-post-with-exif-data/reviews/)

## Contributors & Developers

“Update Post with EXIF data” adalah perisian sumber terbuka. Orang-orang berikut
telah menyumbang kepada pemalam ini.

Penyumbang

 *   [ Mark Howells-Mead ](https://profiles.wordpress.org/markhowellsmead/)

[Translate “Update Post with EXIF data” into your language.](https://translate.wordpress.org/projects/wp-plugins/update-post-with-exif-data)

### Berminat dalam pembangunan?

[Layari kod](https://plugins.trac.wordpress.org/browser/update-post-with-exif-data/),
periksa [repositori SVN](https://plugins.svn.wordpress.org/update-post-with-exif-data/),
atau langgani [log pembangunan](https://plugins.trac.wordpress.org/log/update-post-with-exif-data/)
dengan [RSS](https://plugins.trac.wordpress.org/log/update-post-with-exif-data/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.3.1.1

 * Correct version number in README.

#### 1.3.1

 * Additional safeguards in the event of missing GPS data in the EXIF array.
 * Add `update-post-with-exif-data/no-gps` action hook to function `addImageLocationToPost`.

#### 1.3.0

 * **Breaking change**: filter hook `post_exif_data_taxonomy` is now renamed `update-
   post-with-exif-data/post_taxonomy`.
 * **Bugfix**: check to ensure that both GPSLongitude and GPSLatitude are set before
   updating location meta.
 * Add unique PHP namespace.
 * Comply with PSR-2 coding standards.
 * Add action to assist with debugging.
 * Extend plugin description for better clarification.

#### 1.2.2

 * Confirmation of compatibility with WordPress 4.6.

#### 1.2.1.1

 * Fix typo in README.

#### 1.2.1

 * Confirmation of compatibility with WordPress 4.5.

#### 1.2.0

 * Replace hard-coded list of customized taxonomy keys with standard taxonomy `post_tag`,
   and add filter to allow this
    to be customized by third parties.
 * Clean up code (whitespace, commenting).

#### 1.1.1

 * Corrections to version numbering in README/SVN.
 * Confirmation of support in WordPress 4.4.2.
 * No functional changes.

#### 1.1

 * Initial public version.

## Meta

 *  Version **1.3.1**
 *  Last updated **10 tahun lalu**
 *  Active installations **10+**
 *  WordPress version ** 4.3 or higher **
 *  Tested up to **4.6.30**
 *  Language
 * [English (US)](https://wordpress.org/plugins/update-post-with-exif-data/)
 * Tags
 * [exif](https://ms.wordpress.org/plugins/tags/exif/)[geo](https://ms.wordpress.org/plugins/tags/geo/)
   [iptc](https://ms.wordpress.org/plugins/tags/iptc/)[location](https://ms.wordpress.org/plugins/tags/location/)
 *  [Paparan Lanjutan](https://ms.wordpress.org/plugins/update-post-with-exif-data/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  1 5-star review     ](https://wordpress.org/support/plugin/update-post-with-exif-data/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/update-post-with-exif-data/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/update-post-with-exif-data/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/update-post-with-exif-data/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/update-post-with-exif-data/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/update-post-with-exif-data/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/update-post-with-exif-data/reviews/)

## Penyumbang

 *   [ Mark Howells-Mead ](https://profiles.wordpress.org/markhowellsmead/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/update-post-with-exif-data/)

## Derma

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://www.paypal.me/mhmli)