Title: Replace External Images
Author: Hans &amp; Friends
Published: <strong>2025 年 7 月 21 日</strong>
Last modified: 2026 年 2 月 13 日

---

搜尋外掛

![](https://ps.w.org/replace-external-images/assets/banner-772x250.png?rev=3331060)

![](https://ps.w.org/replace-external-images/assets/icon-256x256.png?rev=3331060)

# Replace External Images

 由 [Hans & Friends](https://profiles.wordpress.org/hansandfriends/) 開發

[下載](https://downloads.wordpress.org/plugin/replace-external-images.1.2.0.zip)

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

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

## 外掛說明

“Replace External Images” lets you import externally hosted images used in post 
content directly into your WordPress media library — either one by one or now with
the new bulk import feature across multiple posts at once.

The plugin automatically replaces external URLs in the content with local media 
URLs, shows a live progress view, supports any image host, and updates featured 
images where needed.

Ideal for:
 – site migrations – pasted content from other sources – cleaning up 
hotlinked images – processing many posts in one go with the bulk importer

Full documentation available here: [Replace External Images Docs](https://hansandfriends.de/docs/replace-external-images/)

## 螢幕擷圖

[⌊A post with an externally hosted image. The "Replace External Images" panel appears
in the editor sidebar. One click imports the image into the media library and updates
the post to use the local version.⌉⌊A post with an externally hosted image. The "
Replace External Images" panel appears in the editor sidebar. One click imports 
the image into the media library and updates the post to use the local version.⌉[

A post with an externally hosted image. The “Replace External Images” panel appears
in the editor sidebar. One click imports the image into the media library and updates
the post to use the local version.

[⌊Successful import confirmation with summary and return link.⌉⌊Successful import
confirmation with summary and return link.⌉[

Successful import confirmation with summary and return link.

[⌊Works in both Classic Editor and Gutenberg, including multi-image posts.⌉⌊Works
in both Classic Editor and Gutenberg, including multi-image posts.⌉[

Works in both Classic Editor and Gutenberg, including multi-image posts.

[⌊Respecting protected content — import fails cleanly for non-image or restricted
resources.⌉⌊Respecting protected content — import fails cleanly for non-image or
restricted resources.⌉[

Respecting protected content — import fails cleanly for non-image or restricted 
resources.

[[

## 安裝方式

 1. Go to your WordPress dashboard.
 2. Navigate to “Plugins > Add New”.
 3. Search for “Replace External Images”.
 4. Click “Install Now” and then “Activate”.

Alternatively:

 1. Download the plugin as a ZIP file.
 2. Go to “Plugins > Add New > Upload Plugin”.
 3. Select the ZIP file, click “Install Now”, then “Activate”.

Once activated:

 * Open a post that contains externally linked images.
 * Click “Replace External Images” in the Tools section.
 * Watch the live progress bar and wait for completion.

## 常見問題集

### Does it overwrite existing media?

No — it only imports external images and skips media already in the library.

### What happens to the image URLs?

They are updated to local media paths after import.

### Can I undo the import?

Not automatically. Please make a backup before running the importer if you need 
to restore content later.

### What happens with protected or blocked images?

Some image sources actively block hotlinking or automated downloads by returning
a different content type (e.g. `text/plain` instead of `image/jpeg`).
 This plugin
detects such cases and skips the import gracefully — no image is saved, and the 
log explains why.

### What if the post doesn’t have a featured image?

If a post has no featured image, the plugin will automatically set the **first successfully
imported image** as the featured image.

## 使用者評論

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

## 參與者及開發者

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

參與者

 *   [ Hans & Friends ](https://profiles.wordpress.org/hansandfriends/)

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

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

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

## 變更記錄

#### 1.2.0

 * Improved prefix consistency across AJAX, JS globals, script handles, and importer
   internals
 * Hardened nonce and request sanitization in admin and AJAX flows
 * Improved download handling and clearer logging for blocked sources (e.g. HTTP
   403 responses)
 * Improved post-type aware back navigation after single and bulk imports

#### 1.1.0

 * NEW: Bulk import for external images across multiple posts

#### 1.0.0

 * Initial public release
 * Live importer for external images
 * Works on individual post basis
 * Tested up to WordPress 6.8.1 and PHP 8.2

## 中繼資料

 *  版本 **1.2.0**
 *  最後更新 **5 個月前**
 *  啟用安裝數 **80+**
 *  WordPress 版本需求 ** 5.0 或更新版本 **
 *  已測試相容的 WordPress 版本 **6.9.4**
 *  PHP 版本需求 ** 7.4 或更新版本 **
 *  語言
 * [English (US)](https://wordpress.org/plugins/replace-external-images/)
 * 標籤:
 * [external images](https://tw.wordpress.org/plugins/tags/external-images/)[hotlinking](https://tw.wordpress.org/plugins/tags/hotlinking/)
   [images](https://tw.wordpress.org/plugins/tags/images/)[import](https://tw.wordpress.org/plugins/tags/import/)
   [media](https://tw.wordpress.org/plugins/tags/media/)
 *  [進階檢視](https://tw.wordpress.org/plugins/replace-external-images/advanced/)

## 評分

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

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

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

## 參與者

 *   [ Hans & Friends ](https://profiles.wordpress.org/hansandfriends/)

## 技術支援

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

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