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.

Map Images


This plugin parses one post or a set number of posts looking for all image files with GPS exif data. It can then append a Google Map to each post or to the page with a marker for each image found. It can include both locally stored images and remotely stored images. In order for Google Maps to work properly, a Google Maps API Key must be obtained. The key is free for a limited number of map generations, 25,000 requests/day at the time of this writing (March 19, 2013). For more information on obtaining an API Key, visit Google’s developer resources (


  • screenshot-1.png is an example of the options page.
  • screenshot-2.png is an example of a post with two images taken in different locations and the Google map they generate.


  1. Create a mapimages directory in the /wp-content/plugins/ folder.
  2. Copy the mapimages.php and admin.php file to the directory.
  3. Activate the plugin through the Plugins menu in WordPress.
  4. Access the settings from your WordPress dashboard for Map Images.
  5. Ensure all fields are completed, and then submit the form.


Why do I need a google maps API key?

The google maps API limits the number of requests per key for free access.

The plugin is not working on my server, are there any resources?

Unfortunately no, there are no resources at this time. Please email me or leave a comment on the plugin webpage for further assistance.

The plugin creates a google maps marker for locally hosted images, but not for remotely hosted images?

Ensure allow_url_fopen is enabled in your webserver’s php.ini file. More information can be obtained at the PHP website (

Contributors & Developers

“Map Images” is open source software. The following people have contributed to this plugin.


Translate “Map Images” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.



  • Bug fix for error “Undefined variable: mapimages_options on line 374”.


  • Bug fix for error “wp_enqueue_script was called incorrectly”.


  • Bug fix for themes that use the post excerpt instead of the full content. This fix forces the full content into the excerpt field.


  • Added ability to have one map on a page that shows markers for images in many posts.
  • Added click functionality to markers on the map, so now a thumbnail is display as well as a link to the post with the image.


  • Bug fix for GPS calculation that may have resulted in locations up to a kilometer off (special thanks to Mattijn for discovering the bug).


  • Added ability to use shortcodes so maps only appear where author intends.
  • Added ability to center and zoom map independent of image locations.


  • Bug fix for pages with multiple posts.
  • No maps are added to posts that have no pictures with exif data.


  • Initial Release.