NextGEN Gallery geo is a flexibe plugin, displaying beautiful maps with your photos by using EXIF Data or geocoding.
How can I use NextGEN Gallery geo?
There are three ways of using NextGEN Gallery geo:
1. Generate maps automatically
The plugin search for galleries in the your posts and includes a map, if there ist geodata available. Easy to use, you don't need to change anything on your theme.
2. Include maps using the shortcode [nggg]
simply use the shortcode [nggg] anywhere in your posts. You can define several options.
3. Use the php-function (for theme development)
If you want to embed the plugin in your theme, you can use the php-function.
$options must be defined as an array, containing the same data as the shortcodes. The parameters are optional. By delivering the gallery-ID parameter, this function can be used outside of The Loop. If you don't define the gallery id, the plugin will search for the gallery-ID in the post. For more information please have a look at the sourcecode.
Shortcode? Which shortcodes?
There is only one shortcode: [nggg] You can use it with the following options:
'geocoding_provider' -> ( google_v2, google_v3, openstreetmaps, yahoo )
'zoom' -> ( zoomlevel between 1 and 19 ) 'map_height'
'map_width' 'map' -> ( Aerial, Road, Hybrid ) 'bev' -> Activate Bird's eye view? 'thumb' -> Which thumbs? ( 2 = phpThumb, 3 = CSS3, 4 = pushpins ) 'ajax' -> Activate AJAX mode?
'lightbox' -> ( Fancybox, Slimbox ) 'exif' -> Show detailed exif informations? 'route_width' 'route_color' 'route' -> Activate route mode? 'worldmap' -> Show Worldmap? 'dashboard' -> Show Dashboard? 'minimap' -> Show Minimap? 'scalebar' -> Show Scalebar? 'thumb_desc' -> Show thumbnail description? 'thumb_height'
Example: [nggg id=18 bev=1 map_height=100px map_width=200px exif=0 minimap=1]
Can I use this plugin, even if there is no GPS-Data stored in the EXIF-Informations of my photos?
Yes, no problem! Least cameras have a built-in GPS receiver. You can add coordinates later by using "Geosetter" for example (Freeware). If there are no coordinates stored, the plugin try to geocode the gallery-name. You can use different providers for geocoding, sometimes they generate differing results.
What is the AJAX mode? If you don't want the maps to get loaded every time, you can use the ajax mode. If activated, the plugin will display a button. By clicking on this button, the map is loaded using a AJAX request.
What is the worldmap mode?
The worldmap mode gives you the possibility, to show an overview of all your galleries of your blog. Every gallery is linked, if there is geodata available. You can include the worldmap in your post by using the shortcode [nggg worldmap=1]. Alternatively, you can use the following php-function:
Why the worldmap does not work with my galleries?
The worldmap-mode only uses the previewpics of your galleries, if there are coordinates available. You have to choose a previewpic, otherwise the plugin will simply ignore the gallery.
What is the route mode?
You can use the route mode, to display your travel route. Therefor, the photos are linked in chronological order. The route mode can be activated for all galleries using the optionspanel. Alternatively, you can activate the route mode for single maps using the shortcode. If you have recorded your route to a .gpx file, you can upload the file in the gallery folder. Rename it (data.gpx), and the track will be displayed on the map.
How can I define the map-style?
Some options like map-width and map-height can be changed at the optionspanel. The maps are using the div-class .ngg_geo_map, so you can use CSS, too. Example: 640px or 87% - 640 or 87 won't work!
You can find some examples on my homepage: http://www.denktfrei.de/?p=805