Title: Active Contour
Author: shra
Published: <strong>2025 年 6 月 24 日</strong>
Last modified: 2025 年 6 月 24 日

---

搜索插件

![](https://s.w.org/plugins/geopattern-icon/active-contour.svg)

# Active Contour

 作者：[shra](https://profiles.wordpress.org/shra/)

[下载](https://downloads.wordpress.org/plugin/active-contour.zip)

 * [详情](https://cn.wordpress.org/plugins/active-contour/#description)
 * [评价](https://cn.wordpress.org/plugins/active-contour/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/active-contour/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/active-contour/#developers)

 [支持](https://wordpress.org/support/plugin/active-contour/)

## 描述

**Active Contour** lets you define interactive contour areas on media images. Each
polygonal area can be associated with a title & URL, making it easy to build rich
visual navigation, diagrams, and interactive image content.

### Features

 * **Edit contours directly in the Media Library**
    - Add, move, and delete points visually
    - Scaled preview with zoom and background options
 * **Define attributes per area**
    - Each area can include `title`, `href`, and custom data
    - Stored as JSON in image meta field
 * **Import contours from external tools**
    - Paste a JSON object describing one or multiple contours
    - Compatible with AI-generated data or exported data from vector tools
    - Preview and refine the result before saving
 * **Gutenberg Block Support**
    - Insert an image with interactive contours using the included block (Active
      Contour)
    - Live preview of the selected image and contour state
 * **Shortcode Support**
    - Use `[active_contour id="123" cid="1,2"]` to embed images with specific contours
    - Works anywhere shortcodes are supported (pages, posts, widgets)

### Use cases

 * Interactive maps and diagrams
 * Infographics with tooltips or links
 * Product showcases with click/tap areas
 * Educational or documentation content

### Keyboard Shortcuts

While editing points in the contour editor, you can use the following keyboard shortcuts
for greater control:

 * Delete — Removes the currently selected point from the contour.
    - or Numpad + — Converts the selected segment into a curved arc (or increases
      arc intensity).
 *  - or Numpad – — Decreases arc curvature or switches arc back to straight line.
 * Shift (hold) — Activates zoom mode. While holding Shift, a magnifier lens appears
   under the cursor to help you place points more precisely.

Other behaviors:

 * Click on canvas — Adds a new point in the closest location or selects an existing
   one if clicked near.
 * Click and drag a point — Moves the selected point with the mouse.

## 屏幕截图

[⌊Contour editor inside Media Library⌉⌊Contour editor inside Media Library⌉[

Contour editor inside Media Library

[⌊Contour settings and preview in the Gutenberg block⌉⌊Contour settings and preview
in the Gutenberg block⌉[

Contour settings and preview in the Gutenberg block

[⌊Export tool⌉⌊Export tool⌉[

Export tool

[⌊Creating contour...⌉⌊Creating contour...⌉[

Creating contour…

[⌊Using arc interpolation tool⌉⌊Using arc interpolation tool⌉[

Using arc interpolation tool

[⌊Filtering by tags...⌉⌊Filtering by tags...⌉[

Filtering by tags…

## 区块

该插件提供了 1 个区块.

 *   Active Contour Insert Image with active contours.

## 安装

 1. Upload the plugin to the `/wp-content/plugins/` directory or install via the Plugin
    Installer.
 2. Activate the plugin.
 3. Open any image in the Media Library and go to the **Contours** tab.
 4. Add contour points and set properties.
 5. Use the provided block (Active Contour) or shortcode to insert the image.

## 常见问题

### Where is contour data stored?

As a JSON structure in the attachment meta under `_active_contours`.

### Can I style or extend how contours are rendered?

Yes. You can use custom styles via CSS. Block is rendered inside div.active-contour-
container element.

## 评价

此插件暂无评价。

## 贡献者及开发者

「Active Contour」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ shra ](https://profiles.wordpress.org/shra/)

[帮助将「Active Contour」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/active-contour)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/active-contour/)，查看
[SVN仓库](https://plugins.svn.wordpress.org/active-contour/)，或通过[RSS](https://plugins.trac.wordpress.org/log/active-contour/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/active-contour/)。

## 更新日志

#### 1.0.0

 * Initial release.

## 额外信息

 *  版本 **1.0**
 *  最后更新：**12 月前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 6.0 或更高版本 **
 *  已测试的最高版本为 **6.8.5**
 *  PHP 版本 ** 7.4 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/active-contour/)
 * 标签
 * [image hotspot](https://cn.wordpress.org/plugins/tags/image-hotspot/)[Image Map](https://cn.wordpress.org/plugins/tags/image-map/)
   [interactive image](https://cn.wordpress.org/plugins/tags/interactive-image/)
 *  [高级视图](https://cn.wordpress.org/plugins/active-contour/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/active-contour/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/active-contour/reviews/)

## 贡献者

 *   [ shra ](https://profiles.wordpress.org/shra/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/active-contour/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](https://pay.cryptocloud.plus/pos/Oc9ieI6Eb5HWPptn)