The thumbs are selectable features of the vector layer "photos". Add a selectControl to your map for this layer, that shows an OpenLayers Popup for selected features. >From the feature.attributes you should get the url of the image, you want display.
see http://openlayers.org/dev/examples/dynamic-text-layer.html http://openlayers.org/dev/examples/popupMatrix.html Arnd _____ Von: openlayers-users-boun...@lists.osgeo.org [mailto:openlayers-users-boun...@lists.osgeo.org] Im Auftrag von charlie Gesendet: Sonntag, 30. März 2014 01:47 An: openlayers-users@lists.osgeo.org Betreff: [OpenLayers-Users] Popups, BBox strategy & Flickr API Ive been using the code from the BBox strategy with my Flickr API to display photos on my map with some success. http://dev.openlayers.org/releases/OpenLayers-2.13.1/examples/strategy-bbox. html However, I would like to expand its functionality a bit, but have not been successful, my JS is rudimentary at best. I would like to add the functionality allowing a user to click on the existant thumbnail, and an larger image (say 300*300 pixels) would popup, with the photo caption below. Would it be best to utilize OpenLayers.Popup? Can anyone give me a hand with this or point me in the right direction? Many thanks! --- Diese E-Mail ist frei von Viren und Malware, denn der avast! Antivirus Schutz ist aktiv. http://www.avast.com
_______________________________________________ Users mailing list us...@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/openlayers-users