WordPress.org

Plugin Directory

demon image annotation

Allows you to add textual annotations to images by select a region of the image and then attach a textual description.

Installation

  1. Put the plugin folder into [wordpress_dir]/wp-content/plugins/
  2. Go into the WordPress admin interface and activate the plugin
  3. Choose the settings you want in demon-image-annotation settings.

How to use

  1. First enter div wrapper id or class in settings where your post content appear, or else the plugin can't find the wrapper to start.

    Example (.entrybody)
    <div class="entrybody><coded_br />
        <?php the_content(); ?><coded_br />
    </div>
  2. To embed annotations and comments on images, your img tag must have id attribute value start with ‘img-‘, this plugin already did the trick if you enable Auto Generate Image ID option.

  3. If you wish to add an id attribute maunally, here is the guide on how to insert id attribute to img tag.
    - First disable Auto Generate Image ID option
    - Add an id attribute start with ‘img-‘ follow by unique id to img tag.
    - All the images must have unique and different id or else you will get the same comments.

    Example (img-4774005463)
    <img id="img-4774005463" src="http://farm5.static.flickr.com/4121/4774005463_3837b6de44_o.jpg" width="900" height="599" alt="Image Annotation Plugin" />
  4. Decide the option for WordPress Comments setting.

    Sync with wordpress comments:
    - image note sync with wordpress comment database
    - modified comment will auto update both database
    - deleted comment from wordpress comment will not sync, have to delete manually in image notes table list.
    - new image note from annoymous will auto add into wordpress comment as waiting approval.
    - the image note only publish when the comment is approve.

    Not sync with wordpress comments:
    - standalone image note database.
    - new image note will publish without approval.

    Pls note if you switch the option, the comments added with previous option will not load.

Usage:

  1. Disable Add Note button:
    Add an addable attribute with value “false” to disable the add note button, but image notes still viewable.
    Login User who can Moderate Comments still able to see Add button option.

    <img id="img-4774005463" addable="false" src="http://farm5.static.flickr.com/4121/4774005463_3837b6de44_o.jpg" width="900" height="599" alt="Image Annotation Plugin" />
  2. Exclude image:
    Add an exclude attribute to disable image annotation function.

    <img exclude id="img-4774005463" src="http://farm5.static.flickr.com/4121/4774005463_3837b6de44_o.jpg" width="900" height="599" alt="Image Annotation Plugin" />
  3. Comments thumbnail:
    To add thumbnails to your comments list manually, just add the php code below in your comment callback function.

    <?php if (function_exists('dia_thumbnail')) {
        dia_thumbnail($comment->comment_ID);
    }?>

Requires: 2.5 or higher
Compatible up to: 4.1.5
Last Updated: 2015-1-26
Active Installs: 100+

Ratings

5 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

0,1,0
0,1,0
100,1,1
0,1,0
0,1,0
100,1,1
0,1,0
100,2,2
100,1,1