该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的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」是开源软件。 以下人员对此插件做出了贡献。

贡献者

更新日志

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