Pixelpost

Authentic Photoblog Flavour

easyMap simple goolge maps addon for Pixelpost v0.31β

 
Download (49.6 KB)

Developer Description

About

easyMap for Pixelpost reads the EXIF of your photos, searches for geodata (longitude/latitude) and allows you to add a link, showing where the image was taken on a (google) map.

easyMap uses lytebox (http://www.dolem.com/lytebox/) to show the map with a "lightbox"-overlay. If a browser without JavaScript is used, a static image to the google map page with the photo's coordinates is used.

All you need is PHP 4.2.0 (or above) with the '--enable-exif' option active to read the exif data and images with geodata inside their EXIF, of course! If you want to use the <EASY_MAP_LOCATION>tag your IPTC-data needs to be tagged accordingly.

easyMap for Pixelpost provides two Template-Tags:

  • <EASY_MAP_LINK>: displays a link opening a google-maps overlay, or, if no geodata was found, a text message.
  • <EASY_MAP_LOCATION>: displays a link with the format: city/state/country opening a google-maps overlay, or, if no geodata was found, a text message.

You can see the plugin at work on my photoblog: http://makrograf.com/index.php?showimage=30

Click on Comments&Details to see the link.

Read the included readme.txt or this page ;)

Installation

  • Download the addon
  • Extract the easyMap.zip and open the easyMap.php!
  • Save the easyMap.php and upload the whole _easyMap-folder to your addons-folder of the pixelpost installation
  • Activate the Addon in the Admin-panel. A map appears if you did it right!

Languages

There is a language-folder inside (_easyMap/lang), containing two files for English and German. Only three variables are used right now, add additional language files (standard pixelpost language abbreviations as filename used, de.php/en.php/fr.php...) if your blog needs them.

Feel free to contact me then, I will be happy to include these files in upcoming releases.

version history

0.31

  • Added analysis of Longitude/Latitude reference for correct location handling

0.3

  • Changed the way EXIF data is read. Exifer (comes with Pixelpost) used for compatibility issues
  • Supressed wrong API key Alert box
  • Runs without Javascript (static google maps Image displayed instead)
  • Improved handling of wrong API keys (no front page popup errors anymore) and alternate link pointing to google maps with the photos coordinates displayed instead
  • added tiny debugging-part in admin panel

0.2

  • Added second Tag:
  • Added API-key Checker inside the Admin panel
  • changed the way images are analyzed, to prevent errors inside Admin panel (executed now only in /index.php)
  • fixed the thumbnail-url passed to the map.php
  • one language-variable added in language files ($easyMap_no_location)
  • some minor changes

0.1

  • initial release of easyMap for pixelpost

Older Versions

Read All 4 Reviews » Write A Review

  1. Perfect 5
    Unknown 6 Years Ago Report as Spam

    After some great help from Andreas it works fine. This is a great Addon!!!

  2. Perfect 5
    Unknown 6 Years Ago Report as Spam

    this is a killer addon!!!

  3. Perfect 5
    Unknown 6 Years Ago Report as Spam

    Superb, works fine. Just what i needed. Thnx for the effort!