GPS 2 Photos
GPS 2 Photos lets you view, add, or edit EXIF GPS coordinates for JPEG and WebP images in the WordPress Media Library and galleries powered by NextGEN, Envira, FooGallery, or Modula. It displays existing GPS data as editable fields (Media Library only) or provides a button to add or update coordinates. Clicking the button opens a map interface where you can set a location by simply clicking on the map, searching for a place, or typing it in manually.
This plugin extends the functionality of the Geo 2 Maps add-on for NextGEN Gallery, which displays maps with photos, galleries, or albums using EXIF GPS data.
The plugin is using Microsoft Azure Maps and requires a free Azure Maps API Key to function as described below. To amend EXIF GPS coordinates, use the PHP Exif Library (PEL) by Martin Geisler. (Copyright (C) 2004–2006 Martin Geisler. Licensed under the GNU GPL. https://github.com/FileEye/pel )
Features
- WordPress Media Library & NextGEN Gallery Integration: Works seamlessly inside the standard Media Library and also adds an “Add/Amend GPS” option to images in the NextGEN Gallery management page.
- Gallery Support: Integrates with popular gallery plugins, including NextGEN Gallery, Envira Gallery, FooGallery, and Modula.
- View GPS Data: See a map with a pin for any image that has GPS coordinates in its EXIF data for JPEG photos and EXIF/XMP for WebP images.
- Edit & Add GPS Data: Easily add or change an image’s location by dragging the pin or clicking anywhere on the map.
- Interactive Map Modal: A clean and simple map interface with a location search bar opens in a modal window.
- Backup & Restore: The plugin automatically backs up original GPS data, allowing you to restore it with a single click.
- Azure Maps Integration: Utilizes the powerful and reliable Azure Maps for displaying map tiles.
External Services
This plugin relies on Microsoft Azure Maps to display interactive map in the WordPress admin area and obtain GPS coordinates. It’s using additional modules to enable search for location functionality (geocoding), browser‑based geolocation and Fullscreen option.
What data is sent and when
Plugin sends sample geolocation query to the Azure REST server to validate the API Key. When the map loads or when the user interacts with it, the browser sends requests to Azure Maps servers. These requests may include: * Search queries entered by the user or location coordinates * Standard HTTP request data (e.g., IP address, browser type, OS) * Map tile requests triggered by zooming or panning
If the user chooses to use the map’s “Locate Me” button, their location is only shared if they explicitly grant permission in their browser.
API key and account requirement
To use this plugin, the site owner must create a free Azure Maps account and generate an API key. Azure Maps offers a free tier with generous limits that typical individual or small‑site usage is very unlikely to exceed.
Legal documentation
Azure Maps is provided by Microsoft. Relevant policies: * Terms of Use * Privacy Policy * Azure free account creation