[WordPress] 外掛分享: Phototools: geo2wp

首頁外掛目錄 › Phototools: geo2wp
全新外掛
安裝啟用
尚無評分
2647 天前
最後更新
問題解決
WordPress 3.0.1+ PHP 5.6+ v1.4 上架:2018-05-11

內容簡介

這個外掛是我的舊版「GPS MAP Widget」外掛的替代品,具有以下選項:

在「媒體」列表視圖中,新增了一列顯示GEO資料的可用性
當尚未找到GEO資料時,它會檢查圖像文件的EXIF地理定位數據並將其存儲在元數據中
識別並轉換由GPS MAP Widget使用的舊的元數據。
在POST/PAGES概述中,新增了一列帶有特色圖像的特色圖像。 激活圖標顯示GEO資料。
在有可用GEO資料的特色圖像時,媒體/文章/頁面編輯畫面將在metabox中顯示位置地圖。
提供了一個小部件「geo2wp map」。
提供了兩個短碼:EXIF_locationmap和EXIF_location。用法完全相同(當然除了api密鑰)。參見下文使用情況。
GeoRSS可以添加到提要中(默認值:是)
只有在有可顯示的內容時,才顯示小工具。對於短碼也是如此,如果沒有數據可顯示,則不顯示任何東西。
geo2wp按照https://codex.wordpress.org/Geodata中描述的方式處理地理資料,因此應與使用這些元數據字段的其他系統兼容。
媒體列表中的每個項目現在都有一個重新加載exif地理資訊的選項。
在媒體屏幕上,您還可以批量重新加載exif地理資訊
在媒體編輯屏幕上,當無法顯示地圖時,小工具中的消息是可點擊的,並且會嘗試重新加載exif地理資訊。

EXIF_locationmap:

width:地圖圖像的寬度(單位:px)。默認值為300px
height:地圖圖像的高度(單位:px)。默認值為200px;
zoom:googlemaps縮放級別。默認為11
Errors:當無法使用exif或沒有特色圖像時顯示錯誤消息。對於短碼,默認值為false

範例:
[EXIF_locationmap width=750 height=300 zoom=11 errors=false]

EXIF_location:

part:'latitude'、'longitude'或'both'
form:'dec'或'dms'(十進制或度分秒。默認值為十進制);

範例:
[EXIF_location part=both]
將返回52.22935055,6.8737411

[EXIF_location part=both form=dms]
將返回52°21'13"N,6°26'7"N

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.4) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Phototools: geo2wp」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

This plugin is a replacement for my old “GPS MAP Widget” plugin with the following options:

In the “media” list view there’s a new column which shows the availability of GEO data
When GEOdata isn’t found yet, it checks the imagefile for the EXIF geodata and stores it in the metadata
The old metadata used by GPS MAP Widget is recognized and translated in the current system.
In the POST/PAGES overview a new column is presented with the featured image. Geodata is presented with an overlay icon.
The media/post/page edit screen shows the location map in a metabox when a featured images with geodata is available.
A widget “geo2wp map” is available.
Two shortcodes are available: EXIF_locationmap and EXIF_location. See below for the usage, which is exactly the same (oh well, minus the api key)as under GPS MAP Widget.
GeoRSS can be added to the feed (default: yes)
The widget is only show when there’s something to show. This also goes for the shortcode, when there’s no data to show, nothing is shown.
geo2wp handles the geodata as described in https://codex.wordpress.org/Geodata and as such should be compatible with other systems using these metadataa fields.
Every item in the medialist now has an option to reload the exif geo info.
In the media screen you can also bulk reload exif geo info
On the media edit screen the message in the widget, when no map can be shown, is clickable an tries to reload the exif geo info.

EXIF_locationmap:

width: width of the map image in px. default 300px
height: height of the mapimage in px. default 200px;
zoom: googlemaps zoomlevel. Default 11
Errors: Show error messages when no exif is available or when there’s no featured image. Default is false for the shortcode

Example:
[EXIF_locationmap width=750 height=300 zoom=11 errors=false]
EXIF_location:

part: ‘latitude’, ‘longitude’ or ‘both’
form: ‘dec’ or ‘dms’ (decimal or Degree minute seconds. Decimal is default);

example:
[EXIF_location part=both]
will return 52.22935055,6.8737411
[EXIF_location part=both form=dms]
will return 52°21'13"N , 6°26'7"N

延伸相關外掛

文章
Filter
Apply Filters
Mastodon