Piwigo / piwigo-openstreetmap

OpenStreetMap integration for Piwigo
http://piwigo.org/ext/extension_view.php?eid=701
GNU General Public License v3.0
35 stars 35 forks source link

Request: Possible to have map markers link to the images they reference? #103

Open freeradicalx opened 8 years ago

freeradicalx commented 8 years ago

This doesn't appear to be an existing feature of Piwigo-OSM, but it's something that seems intuitive it should have: Instead of the map only showing the locations of all my photos, it'd be awesome if clicking on any of the individual markers could link to that marker's corresponding photo page. So for example if I took a picture of the Empire State Building in New York City, zooming to 34th St and 5th Ave in New York on my map and clicking the marker located there should link me to my photo of the building.

xbgmsharp commented 8 years ago

In the Admin page on the Left menu configuration, you have the option to have a link to the image page inside the popup.

Select the popup content :
...
Add a link to image
...

Or you want to add a option in Show popup to say No popup link to image?

freeradicalx commented 8 years ago

Ah hah, I must have missed that because my theme, Bootstrap Darkroom, doesn't have a left menu! In Bootstrap Darkroom the 'main map' is the Category Description map, and it displays at the top of all the gallery pages. So I guess my request is actually: Could you add the same pop-up options that the Left Menu has to the Category Description map, as well?

A "No popup link to image" option is also a great feature idea, although in my case I'd still prefer to use the popup.