该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的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!