跳到内容

PeakMaps Gallery

v2.1.9

consigno · 2026年11月2日 上架

Folder-based image galleries with a configurable grid and a lightbox. No Media Library.

正在使用
10 以下
评分
暂无
累计下载
456
最近更新
2026年11月19日
需要 WordPress 5.8+已测试到 7.1.5PHP 7.4+

贡献者

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.

  • Kartverket (Norwegian Mapping Authority), cache.kartverket.no – map layers topo, toporaster and topograatone, and Automatic for photos taken in Norway. Terms of use: https://www.kartverket.no/api-og-data/vilkar-for-bruk – Privacy: https://www.kartverket.no/om-kartverket/personvern
  • OpenTopoMap, tile.opentopomap.org – map layer OpenTopoMap, and Automatic for photos taken outside Norway. About, terms of use and privacy: https://opentopomap.org/about

The map window also has ordinary links to Norgeskart (norgeskart.no) and OpenStreetMap (openstreetmap.org). They are only opened if the user clicks them.

No other data is sent to external services. The plugin does not contact consigno.no.

Privacy

  • View statistics (Settings, on by default, can be turned off) are stored in the site’s own database: date, gallery, image and number of views. No IP addresses, cookies or other personal data are stored, and logged-in editors and bots are not counted.
  • Photo positions (GPS in the EXIF data) can be shown on maps when Settings Map is turned on. Photos taken at home can reveal an address.
  • The credit link «Made with PeakMaps Gallery» under the galleries is off by default, and only shown if it is turned on in Settings.

Third-party libraries

  • Leaflet 1.9.4 (BSD 2-Clause), https://leafletjs.com – bundled in assets/vendor/leaflet. Source code: https://github.com/Leaflet/Leaflet
  • World Magnetic Model 2025 (WMM2025) coefficients from NOAA NCEI and the British Geological Survey (public domain), https://www.ncei.noaa.gov/products/world-magnetic-model – included in includes/class-peakmaps-gallery-declination.php. Used offline to convert photo directions from magnetic to true north; nothing is sent to any service.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums