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

ImageShack Offloader

外掛說明

Displaying a lot of images on your site is great. You’ll notice, however, that they tend to eat up a lot of bandwidth. If your site is even remotely popular, this usually means you’ll have to upgrade your hosting account.

ImageShack is a service that offers free image hosting. So why not take advantage of it?

You could start uploading the images manually and modify each post, or you can just install this plugin and be done with it. It will take care of sending copies of all your current (and future) attachments to ImageShack. It will also dynamically replace the URLs when the images are to be displayed.

This way, if you decide you don’t want to use ImageShack anymore, you can disable the plugin and everything goes back to how it was.

安裝方式

You can either use the built-in WordPress plugin install menu, or do it the old-fashioned way:

  1. Unzip the .zip archive and put the imageshack-offloader folder into your plugins folder (/wp-content/plugins/).
  2. Activate the plugin from the Plugins menu.
  3. Go to Settings -> Imageshack Offloader and customize your settings.

Usage

The plugin will automatically filter the post content and replace image src attributes with ImageShack URLs.

If you want to get the URL for a specific image, you can use get_imageshack_url($id, $size), where $id is the attachment id and $size is the desired size. Default is ‘full’. If there is no URL yet, the function will return false.

常見問題集

“Parse error: syntax error, unexpected T_CLASS…” Help!

Make sure your new host is running PHP 5. Add this line to wp-config.php:

var_dump(PHP_VERSION);

使用者評論

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

參與者及開發者

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

參與者

將〈ImageShack Offloader〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

1.0.4

  • fix image replacement in post content

1.0.3

  • added roll back mechanism for missing images

1.0.2

  • better image replacing

1.0.1

  • settings page bugfix

1.0

  • use transloading instead of uploading

0.9

  • initial release