Awesome ACF

ACF Image Hotspots Field

Add-on to allow the capturing of coordinates on an image, based on user clicks.

By Andrew Rockwell · Not updated since Feb 2017 · Free on wordpress.org

Description

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 settings for a hotspot field Screenshot from wordpress.org.
This shows the setup in the ACF generated admin fields
This shows the setup in the ACF generated admin fields Screenshot from wordpress.org.

Installs over time

01k2k3k202220242026
Active installs from wordpress.org, checked each month. wordpress.org rounds the number down.

Install

With WP-CLI, from your site’s root folder:

WP-CLI
wp plugin install acf-image-mapping-hotspots --activate
  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