PeakMaps Gallery
Each gallery is a folder in wp-content/uploads/peakmaps-gallery/. The folder name is the gallery name. Images can be uploaded from the admin screen (Galleries) or directly via FTP. Descriptions are stored in descriptions.json inside each gallery folder and shown at the bottom of the image in the lig
Each gallery is a folder in wp-content/uploads/peakmaps-gallery/. The folder name is the gallery name. Images can be uploaded from the admin screen (Galleries) or directly via FTP. Descriptions are stored in descriptions.json inside each gallery folder and shown at the bottom of the image in the lightbox.
Usage
[peakmaps_gallery name=”mountain-trip-2026″]
Optional attributes:
- columns=”3″ Images per row (1–12). Default from Settings.
- columns_mobile=”2″ Images per row on screens narrower than 600px.
- gap=”8″ Spacing between images in px (0–64).
- ratio=”1/1″ Aspect ratio of the grid cells, e.g. 4/3, 3/2 or auto.
- limit=”24″ Images before «Show more images» (0 = all; default from Settings).
- tourmap=”last” Photo map tile in the gallery: first, last or none (default from Settings).
- gpx=”/gpx/tour.gpx” GPX track(s) for the map, overriding tracks found in the post. Comma-separated; gpx=”none” turns tracks off.
- sort=”taken_desc” Override the gallery’s saved sort order: filename, taken, added, description, custom or random, with _asc or _desc.
The sort order is chosen per gallery on the edit screen.
Photo map
[peakmaps_gallery_map name=”mountain-trip-2026″]
Shows the GPX track and every photo with a GPS position on a Kartverket map. Click a photo to open it in the lightbox. Attributes: height, layer (topo, toporaster, topograatone), markers (camera, dots, thumbs), gpx, sort.
Migration
PeakMaps Gallery → Migrate copies galleries, images and descriptions from Photo Gallery by 10Web or Gmedia Gallery. The source data is not changed, and the migration can safely be run again.
External services
The maps (the map icon, the photo map and the map tile in the gallery) are only used when Settings → Map is turned on. The map images are then loaded by the visitor’s browser from one of these services, depending on the map layer chosen in Settings. The visitor’s IP address and browser information are sent to the service when the map is shown. Nothing is sent before a map is opened or shown.