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

WP Pic Tagger

描述

This plugin allows you to tag people and objects in your images by selecting a region of the image and add names, URLs and descriptions. Implements the jQuery-Notes plugin by Lukas Rydygel (http://jquery-notes.rydygel.de/) and the jQuery-autocomplete plugin by Dylan Verheul (http://code.google.com/p/jquery-autocomplete/).

See the WP Pic Tagger homepage for more complete and detailed information.

Usage

Enabling Tags on an Image

To tag an image, you need to assign the class “wp-tag-people-abc” or “wp-tag-objects-xyz” to your images through your blog’s HTML editor. ‘abc’ and ‘xyz’ must be unique strings of text to identify an image. Simply use the ‘Tag People’ or ‘Tag Objects’ buttons found in the editor to easily insert these tags.

To tag people, click the ‘Tag People’ button. This type of tag allows you to insert names of people and their website or blog URLs. The URL field may be left empty.

If you wish to tag objects, click the ‘Tag Objects’ button. This tag allows you to add only textual notes or descriptions.

Some samples:

If you have more than one image in your post, they must be assigned different classes:

Do not assign more than one class to an image, such as this:

Doing so will disable the tagging feature.

Tagging the Images

After writing your post, publish it or save it as draft. View or preview the blog post. You will notice that each of your images assigned with the required classes are loading tags. To begin tagging, click the button with the plus (+) sign found below the image.

Click on the image. Drag and resize the tag box to your desired location and size. To save the tag, click on the button with the check mark to save it.

To edit or delete a tag, right-click on the tag to make the necessary changes.

License

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation.

安裝

  1. Unzip the archive ‘wp-pic-tagger.zip’ to a local folder on your computer.
  2. Upload the folder ‘wp-pic-tagger’ and its contents to your blog’s plugin folder (root/wp-content/plugins) using FTP.
  3. Login to your WordPress admin panel and browse to the Plugins section.
  4. Activate the WP Pic Tagger plugin.

常見問題

Why does it take a lifetime to load the tags?

As much as I have tried to avoid conflict with other Javascript libraries, this one has issues working together with Scriptalicios and Moo Tools. When such happens, the plugin may stop working.

Another cause could be that the plugin could not find your wp-config.php file, which is required for it to work.

Malformed tags could also be the culprit.

Why do the tags appear to be larger than they should?

Again, this has to do with conflicting Javascript libraries. It has known issues with many Lightbox plugins, such as Lightbox2 (www.huddletogether.com/projects/lightbox2). This bug most often appears in Internet Explorer and Opera.

Why can’t I edit or delete tags?

This is a known issue in Opera, wherein the script could not recognize the right-click mouse action.

Why can’t my friends add their own tags?

Only users with admin access are allowed to add/edit/delete tags.

How can I change the appearance of the tag box?

You are free to play around with the CSS file included in the plugin package. (wp-pictagger/css/style.css)

評價

There are no reviews for this plugin.

貢獻者及開發者

“WP Pic Tagger” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 WP Pic Tagger 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

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