You can find the new Map page on my site, displaying all geo-localized pictures of my gallery.
With this map, I propose a new way to discover the places visited during various trips, hiking...
Edit (01/20/2019):
Some people have asked me how to create a page with all the geotagged images of the gallery.
Rather than respond to each request, I give you my recipe to do that:
- you have to use Zenphoto 1.4.6 (or more) that can do research on non-empty fields, and enable plugin GoogleMap or openStreetMap
- in the administration pages, in options > search tab, select "longitude" and "latitude" in the list of fields that may be used
- in your gallery page, create a new research solely on these "longitude" and "latitude" fields, entering the search criteria
*
(star character, meaning non-empty) - from the search result, click on the "Admin" menu and the choice "Create Album", then create a dynamic album named as you want ("images-localisees" in my example) and choose to see only published images: criteria of dynamic album have to look like this:
"words=*&searchfields=exifgpslatitude,exifgpslongitude&inalbums=0&inimages=1&unpublished=0"
- with plugin GoogleMap, create a new page and enter the following code in the code block 1 (this code is adapted to the theme zpBootstrap, feel free to suit your personal needs):
<?php
$album = newAlbum("images-localisees.alb");
if (is_object($album)) {
makeAlbumCurrent($album);
} ?>
<div id="map" class="margin-bottom-double">
<?php printGoogleMap(NULL, NULL, 'show', $album); ?>
</div> - if you prefer to use the plugin openStreetMap (since Zenphoto 1.5.0), instead of printGoogleMap(...), use :
<?php printOpenStreetMap(NULL, NULL, NULL, NULL, NULL, NULL, '', NULL, $album); ?>
That's all folks !
Olivier F.: on 08/20/2014
Petite question : comment obtenir une carte de ce type sur Zenphoto ?
Le plugin GoogleMap d'origine le permet il ou bien l'avez vous customisé ?
Vincent: on 09/02/2014
----
I have just updated my article to explain how to create a page with all the geotagged photos of the gallery.
Vincent: on 01/20/2019
En raison du temps de chargement des scripts, j'ai activé les scripts (googlemap et openstreetmap) uniquement pour les pages d'album et pour une page appelée "map".
----
If you use the theme zpBoostrap to create a page displaying a map of the whole gallery, its Title-link have to be called "map".
Because of the loading time of the scripts, I activated the scripts (googlemap and openstreetmap) only for the pages of album and for a page called "map".