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

Archive Remote Images

外掛說明

Archive Remote Images allows you to scan a post to fetch remote images; then updates its content automatically.

A new metabox will appear when editing a post.
If “Archive Remote Images” is checked, the plugin will grab all remote images and update the content when saving that post.

  • Settings page with lot of options (see screenshot #2)
  • Several hooks allow advanced users to change the plugin’s behaviour.

Contributors

Contributors are listed here

Notes

For feature request and bug reports, please use the forums.

If you are a plugin developer, we would like to hear from you. Any contribution would be very welcome.

螢幕擷圖

安裝方式

  1. Upload the plugin to your blog and Activate it.
  2. Setup the plugin in the Settings menu -> Archive Remote Images.
  3. Edit a post with remote images, and check “Archive Remote Images”.

常見問題集

Q: Will it archive the images which are already hosted on my blog ?
A: No, only the external images.

Q: Is there hooks I can use to customize the plugin’s behaviour ?
A: Yes, there is several hooks you can use. Search in the code for “apply_filters” and “do_action”. This is for advanced users !

使用者評論

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

參與者及開發者

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

參與者

將〈Archive Remote Images〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

1.0.7

  • Deep clean html content on post load (by Kraoc)
  • Add normalize on document save (by Kraoc)

1.0.6

  • Add default encoding when loading DOM (by Kraoc)
  • removed doctype / html / body from document (only since PHP 5.4). (by Kraoc)

1.0.5

  • added function is_local_server() to avoid error in get_domain() when used on localhost.

1.0.4

  • Lot of new options in the settings page.
  • Localization.
  • Also handles the link wrapped around an image, if the link target is pointing to the image file.
  • Refactoring of the settings page (uses now WordPress functions).
  • Saves image title if a “title” or “alt” attribute is set on the remote image
  • Fixed bug with revisions
  • Avoid uploading several times the same image (checking its source, which is saved as “_ari-url” post meta)
  • Whole image tag replacement, not only source url replacement. Can be filtered with hook ‘ari_get_new_image_html’.
  • Changed regex stuff with DOM parser (more reliable)
  • Replaced SQL queries with WP core functions
  • Wrapped plugin into a class

1.0.3

  • Update: The read me content
  • Bug fix : Fix the default value and auto save option