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

Image Annotator

外掛說明

If you’ve ever wanted to draw on an image or add a caption or text to your image then this is the plugin for you. Best of all it allows you to add your caption, save it, display it, then go back and edit it in different layers and objects laid on top of your image.

It extracts the text from the annotations and displays them as selectable and stylable text just below.

You can hold shift as you draw rectangles to make them perfect squares, same with the ellipse tool and circles.

螢幕擷圖

  • This shows the editing process after one round of adding different annotations and shapes. You can see how things are labeled and the speech bubble is used.
  • This shows how easy it is to just move objects around, remove objects, move the speech bubble around and decide where it goes.
  • This shows you how to add an annotation to one of your posts or pages.
  • Here is an example of the annotation in action on a desktop sized screen. The text below is stylable with CSS (or you can hide it!)
  • This is an example of the annotation on a mobile device, note how the text has been replaced with a larger font and numbers that reference the text below so that it is still readable despite everything getting shrunk down.

安裝方式

  1. Upload the plugin files to the /wp-content/plugins/image-annotator directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress
  3. Add a new annotation by going to ‘Annotations’ and then ‘Add New’ in the left hand columns of your admin panel
  4. Click choose image, add your annotations, and hit publish/update to save them.
  5. On a post or page you can use the TinyMCE shortcode button to add one of your saved annotations or use the [wpia_image id=id_here] shortcode.

常見問題集

How can I change the font in the annotations?

Changing font sizes and colors is coming (although you can edit them in the JS files now) but you can add a custom font family by defining a font in your CSS using @font-face with the name ‘annotatorFont’ and then files from whichever font you would like.

When are colors coming? Other fonts?

As soon as I have time I hope to expand this plugin to allow for stroke width (border width) changes, color changes, free drawing and more. Stay updated!

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈Image Annotator〉的開發相關工作。

參與者

將〈Image Annotator〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

1.0

  • First release of plugin – many more changes to come!

Special thanks to:

Réseau BIBLIO du Centre-du-Québec, de Lanaudière et de la Mauricie (http://www.mabibliotheque.ca/centre-du-quebec-de-lanaudiere-et-de-la-mauricie/fr/index.aspx) and Desaulniers Simard (https://desaulniers-simard.com).

Everyone involved with making and contributing to FabricJS.

Everyone on Stack Overflow and other websites that answers questions and keeps the community strong!