Det här tillägget har inte testats med någon av de 3 senaste huvudversionerna av WordPress. Det kanske inte längre underhålls och kan ha kompatibilitetsproblem när det används tillsammans med nyare versioner av WordPress.

Archive Remote Images

Beskrivning

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.

Skärmdumpar

  • Metabox shown in the editor
  • Settings page

Installation

  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”.

Vanliga frågor

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 !

Recensioner

Detta tillägg har inga recensioner.

Bidragsgivare och utvecklare

”Archive Remote Images” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.

Bidragande personer

Översätt ”Archive Remote Images” till ditt språk.

Intresserad av programutveckling?

Läs programkoden, kika på SVN-filförvaret eller prenumerera på utvecklarloggen via RSS.

Ändringslogg

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