Title: ImageShack Offloader
Author: scribu
Published: <strong>2009 年 5 月 10 日</strong>
Last modified: 2012 年 4 月 9 日

---

搜尋外掛

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

![](https://s.w.org/plugins/geopattern-icon/imageshack-offloader.svg)

# ImageShack Offloader

 由 [scribu](https://profiles.wordpress.org/scribu/) 開發

[下載](https://downloads.wordpress.org/plugin/imageshack-offloader.1.0.4.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/imageshack-offloader/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/imageshack-offloader/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/imageshack-offloader/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/imageshack-offloader/#developers)

 [技術支援](https://wordpress.org/support/plugin/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](http://imageshack.us) 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〉的開發相關工作。

參與者

 *   [ scribu ](https://profiles.wordpress.org/scribu/)

[將〈ImageShack Offloader〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/imageshack-offloader)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/imageshack-offloader/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/imageshack-offloader/)，或透過
[RSS](https://plugins.trac.wordpress.org/log/imageshack-offloader/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/imageshack-offloader/)。

## 變更記錄

#### 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

## 中繼資料

 *  版本 **1.0.4**
 *  最後更新 **14 年前**
 *  啟用安裝數 **少於 10 次**
 *  WordPress 版本需求 ** 2.8 或更新版本 **
 *  已測試相容的 WordPress 版本 **2.9.2**
 *  語言
 * [English (US)](https://wordpress.org/plugins/imageshack-offloader/)
 * 標籤:
 * [cdn](https://tw.wordpress.org/plugins/tags/cdn/)[images](https://tw.wordpress.org/plugins/tags/images/)
   [Imageshack](https://tw.wordpress.org/plugins/tags/imageshack/)
 *  [進階檢視](https://tw.wordpress.org/plugins/imageshack-offloader/advanced/)

## 評分

這個項目尚無任何評論記錄。

[Your review](https://wordpress.org/support/plugin/imageshack-offloader/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/imageshack-offloader/reviews/)

## 參與者

 *   [ scribu ](https://profiles.wordpress.org/scribu/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/imageshack-offloader/)

## 贊助

想要支援這個外掛的發展嗎？

 [ 贊助這個外掛 ](http://scribu.net/paypal)