[WordPress] 外掛分享: PeakMaps Gallery

首頁 › 外掛目錄 › PeakMaps Gallery
全新外掛
安裝啟用
—
尚無評分
剛更新
最後更新
—
問題解決
WordPress 5.8+ PHP 7.4+ v2.1.5 上架:2026-11-01

外掛標籤

開發者團隊

⬇ 下載最新版 (v2.1.5) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「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 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.

延伸相關外掛

文章
Filter
Mastodon