這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

ACF: Image Hotspots Field

描述

How to Use:

  • Install plugin
  • Create a custom field of this type & link it to an image field
  • Go to the admin section you made the field for & add an image to the linked field
  • The image will then load in the image mapping field, click to capture the coordinates, relative to the image
  • Coordinates are stored as comma separated strings

TODO:

  • Square mapping
  • Polygon mapping

Compatibility

This ACF field type is compatible with:
* ACF 5

螢幕截圖

  • This shows the setup in the ACF settings for a hotspot field
  • This shows the setup in the ACF generated admin fields
  • This shows the final product of what the hotspot field can produce
  • This illustrates that the linked image can be a sibling to the hotspot field itself, or any of it’s repeater parents

安裝

  1. Copy the acf-relative_coordinates folder into your wp-content/plugins folder
  2. Activate the Image Hotspots plugin via the plugins admin page
  3. Create a new field via ACF and select the Image Hotspots type
  4. Please refer to the description for more info regarding the field type settings

評價

2022年5月26日
Hi dev, I found out your plugin/module is not updated anymore but still working on the latest core version of wordpress. This plugin is very helpful and unique. Hope to update and maintain this plugin. Thank you.
2019年7月30日
I use this to add marker coordinates to a simple world map image. works great with repeater field. only “problem” is it saves the percentages as a string separated by comma and with a lot of decimals. so first thing to do is to explode the string in order to access the left and top percentages.
閱讀全部11個評價

貢獻者及開發者

“ACF: Image Hotspots Field” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 ACF: Image Hotspots Field 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

1.0.0

  • Initial Release.