Title: Cache Images
Author: Matt Mullenweg
Published: <strong>2005 年 2 月 8 日</strong>
Last modified: 2023 年 10 月 25 日

---

搜尋外掛

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

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

# Cache Images

 由 [Matt Mullenweg](https://profiles.wordpress.org/matt/) 開發

[下載](https://downloads.wordpress.org/plugin/cache-images.3.2.2.zip)

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

 [技術支援](https://wordpress.org/support/plugin/cache-images/)

## 外掛說明

[Plugin homepage](http://blog.milandinic.com/wordpress/plugins/cache-images/) | 
[Plugin author](http://blog.milandinic.com/)

Cache Images is a plugin that gives users option to sideload images that are hosted
on other domains to their own site. Sideloaded images are added to WordPress media
library so you can use all tools related to images that you can use with images 
uploaded through WordPress. Image will be added as an attachment of first post where
it is found, and every post where original URL is occurring will be updated with
new URL. User can select from which domains to sideload images, including Blogger’s
domains.

It uses AJAX so it means you can sideload large number of images even on slow servers.(
AJAX functions are made by fork of code from plugin [AJAX Thumbnail Rebuild](https://wordpress.org/extend/plugins/ajax-thumbnail-rebuild/))

This plugin is fully internationalized. You can find .pot file in _languages_ folder
where you should place your translation. Current translations are Serbian, Spanish,
and Persian. Please send your translation by [contacting author](http://blog.milandinic.com/contact/)
so that it can be included it in next releases.

Read more information about usage on [author’s site](http://blog.milandinic.com/wordpress/plugins/cache-images/).

## 螢幕擷圖

 * [[
 * First screen with basic information about usage of plugin and a button Scan
 * [[
 * List of all domains from which there is hotlinked image
 * [[
 * Settings for automatic caching

## 安裝方式

 1. Upload `cache-images` folder to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Go to ‘Tools’ > ‘Cache Remote Images’ page
 4. Go to ‘Settings’ > ‘Media’ page to enable automatic caching

## 使用者評論

![](https://secure.gravatar.com/avatar/e33a98ff5d78147ce3a2eb7e484dad165e238002dab2ce7b74167d1384411c90?
s=60&d=retro&r=g)

### 󠀁[No better than doing it by hand](https://wordpress.org/support/topic/no-better-than-doing-it-by-hand/)󠁿

 [synthezoid](https://profiles.wordpress.org/synthezoid/) 2024 年 2 月 28 日

This plugin doesn’t update the ALT fields of the images from the alt tags, so, basically,
it’s exactly the same as just bulk downloading the images from a remote site and
bulk uploading them to your library. It does stick the local copies in the same 
places you had hotlinked them in your post, which is great (and is the reason I’m
giving 2 stars instead of 1), unless, like me, it leaves you with 500 media files
that you now need to update the alt fields individually by hand, making the whole
exercise a waste of time.

![](https://secure.gravatar.com/avatar/efed875c87ebad02a34c10e8827bb53bc81ed1f3a8e12382cddc0c1b6d06eb80?
s=60&d=retro&r=g)

### 󠀁[Fine for tiny sites with a handful of images](https://wordpress.org/support/topic/fine-for-tiny-sites-with-a-handful-of-images/)󠁿

 [franklinveaux](https://profiles.wordpress.org/franklinveaux/) 2023 年 12 月 11
日

When I tried to use this on my blog (which has been running since 2001, and has 
many thousands of entries), it failed miserably. For many years, I kept images on
a different server I run, and linked to them from my blog. I finally decided to 
migrate all the images to my blog. Things seemed to go well at first, until the 
plugin hit a few hundred images, at which point my VPS crashed hard. The plugin 
seems only meant for tiny blogs with maybe a dozen images or so. There’s no rate
limiting, no provision for heavy load, no way it can handle more than a small handful
of images. Also, it wants to resize images, for some reason. If oyur goal is to 
end up with a blog exactly the same as it was before, but with the images local 
instead of remote, it should just…bring in the remote images, not resize them.

![](https://secure.gravatar.com/avatar/23da2d143ab19095abde7369dd0fcf20d010e4453a59472ed855c9bdcd782d1e?
s=60&d=retro&r=g)

### 󠀁[The one that really works (till 2019)](https://wordpress.org/support/topic/the-one-that-really-works-till-2019/)󠁿

 [henriquebs12](https://profiles.wordpress.org/henriquebs12/) 2019 年 2 月 17 日

The one that really works without messing my HTML, and allowing automatic caching
for future posts at the same time. The only thing that I’d like is the ability to
change the cached file name (like caching with the post name or time included on
name. And change base URL. Thanks!

![](https://secure.gravatar.com/avatar/98c7c043ddffce6ad9d31346dee5c9f667cb20fd0527b424820ee28191228ba5?
s=60&d=retro&r=g)

### 󠀁[Still working](https://wordpress.org/support/topic/still-working-62/)󠁿

 [](https://profiles.wordpress.org/kwdavids/) 2018 年 1 月 23 日

Despite some comments to the contrary, this plug-in works with WordPress 4.9.2. 
It is well-designed with a very helpful user interface. If you want to get rid of
hot-linked images on your WordPress, this is a painless way to find them and automatically
put the images on your own site and replace the link.

 [ 閱讀全部 5 則使用者評論 ](https://wordpress.org/support/plugin/cache-images/reviews/)

## 參與者及開發者

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

參與者

 *   [ Matt Mullenweg ](https://profiles.wordpress.org/matt/)
 *   [ Milan Dinić ](https://profiles.wordpress.org/dimadin/)

[將〈Cache Images〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/cache-images)

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

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

## 變更記錄

#### 3.2.2

 * Fixed some potential PHP 8.x warnings.

#### 3.2

 * Adds nonce & capability checks.
 * Removes functionality that triggers WP deprecated notices.

#### 3.1

 * Released on 3rd December 2010
 * Tries to fix issue with bad Blogger’s URLs
 * Tries to fix issue with “invalid argument for foreach” error
 * Tries to fix issue with “undefined function media_sideload_image()” error
 * Fixed unescaped characters in code examples
 * Updated screenshot-2

#### 3.0

 * Released on 25th November 2010
 * Complete ajaxification of a plugin
 * Option for automatic caching on post’s saving
 * Option to cache linked images
 * Made standalone functions for finding and caching
 * Improved documentation
 * Code cleanup
 * Updated Serbian and Spanish translations

#### 2.0

 * Complete rewrite of plugin
 * Images are now sideloaded via built in function and added to WordPress’ media
   library
 * Plugin now uses AJAX so it means you can cache large number of images even on
   slow servers
 * You can now cache images from Blogger’s domains too

## 中繼資料

 *  版本 **3.2.2**
 *  最後更新 **3 年前**
 *  啟用安裝數 **1,000+**
 *  WordPress 版本需求 ** 2.8 或更新版本 **
 *  已測試相容的 WordPress 版本 **6.4.8**
 *  語言
 * [English (US)](https://wordpress.org/plugins/cache-images/)
 * 標籤:
 * [hotlink](https://tw.wordpress.org/plugins/tags/hotlink/)[images](https://tw.wordpress.org/plugins/tags/images/)
   [media](https://tw.wordpress.org/plugins/tags/media/)[media library](https://tw.wordpress.org/plugins/tags/media-library/)
   [sideload](https://tw.wordpress.org/plugins/tags/sideload/)
 *  [進階檢視](https://tw.wordpress.org/plugins/cache-images/advanced/)

## 評分

 4 星，滿分為 5 星

 *  [  4 個 5 星使用者評論     ](https://wordpress.org/support/plugin/cache-images/reviews/?filter=5)
 *  [  0 個 4 星使用者評論     ](https://wordpress.org/support/plugin/cache-images/reviews/?filter=4)
 *  [  0 個 3 星使用者評論     ](https://wordpress.org/support/plugin/cache-images/reviews/?filter=3)
 *  [  2 個 2 星使用者評論     ](https://wordpress.org/support/plugin/cache-images/reviews/?filter=2)
 *  [  0 個 1 星使用者評論     ](https://wordpress.org/support/plugin/cache-images/reviews/?filter=1)

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

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

## 參與者

 *   [ Matt Mullenweg ](https://profiles.wordpress.org/matt/)
 *   [ Milan Dinić ](https://profiles.wordpress.org/dimadin/)

## 技術支援

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

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