idea for a wordpress plugin: copy linked images to server

Colorful kid

It’s nice to have services such as Flickr where I can upload an image, then click a button to create an entry on my blog displaying and linking to the image. Unfortunately, there may come a time with I close my Flickr account or Flickr closes up shop. In that case my blog archives will have a bunch of broken images.

I’d like to have a Wordpress plugin that, nightly, copies all linked images to my server, and updates the blog entry so it displays the local image. That would ensure that even if I switched services my previous blog entries would remain intact. Perhaps the plugin should allow you to specify a whitelist of domains from which images should be copied, and it should probably write the original image URL in a comment.

Unfortunately I probably don’t have time to create this plugin, so here’s hoping someone will take up the gauntlet.

Update
Thanks to Garrett for pointing me toward this plugin: Post Filter, which is close to what I want.

3 Responses to “idea for a wordpress plugin: copy linked images to server”

  1. Garrett says:

    That’s a great idea.

    lr2ImageSnag looks to be at least close to it.

    Wordpress Image Transload will probably be my choice until the plugin you describe exists.

    Your plugin idea would be even better if it went ahead and cached the image at the moment that you hit “Post”.

  2. Garrett says:

    Oops, never mind. Here’s the plugin you (we) need:

    Wordpress Post Filter

    When activated, plugin will do the following tasks:

    * Download and cache all external images to your wp-content directory so this post will reference them locally and you won’t steal someone else’s bandwidth;
    * Optionally you may request to auto resize images (if you blog is narow!) and add them into Wordpress attachments area.
    * Optionally you may request to strip all id, style, class attributes so you will not follow other site’s classes and styles.

  3. pat says:

    Excellent – that looks like it almost does the trick, but in addition to fixing new entries, I would also like it to go back through my previous entries and apply the fix.

Leave a Reply