Title: Attachment Importer
Author: Spencer Piontkowski
Published: <strong>2014 年 2 月 16 日</strong>
Last modified: 2014 年 9 月 25 日

---

搜尋外掛

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

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

# Attachment Importer

 由 [Spencer Piontkowski](https://profiles.wordpress.org/piontkowski/) 開發

[下載](https://downloads.wordpress.org/plugin/attachment-importer.0.6.0.zip)

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

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

## 外掛說明

#### What is this?

I found the WordPress Importer plugin is good for importing posts and comments, 
but is lacking when it comes to importing large attachments (like images) from large
sites. My import would often time out and crash. I wrote this plugin to help with
my own blog migrations, but I hope you find it useful too.

#### Usage

 1. As a prerequisite, import your WXR file using the WordPress importer, but do not
    select the option to Download and Import Attachments. I have found that an import
    file up to 15MB big will work as long as you don’t import attachments.
 2. Navigate to the Attachment Importer screen.
 3. Select your WXR export file.
 4. Select the user you would like to be the owner of the downloaded images. Default:
    current user.
 5. Sit back and let the importer run. The process can take as little as 10 seconds
    for 10 images, or about two hours for 2000 images. These times depend on the server
    that hosts your WordPress site.
 6. If you receive any errors during the process, try running the file again after 
    it finishes. The plugin is programmed to ignore files that match the following 
    criteria:
 7.  * Same name
     * Same file name
     * Same upload date
     * Same file size

#### How it works.

This plugin uses [FileReader](https://developer.mozilla.org/en-US/docs/Web/API/FileReader)
and to parse the XML file in the browser, then uses ajax to request WordPress perform
individual uploads.

#### License

Attachment Importer – A plugin for WordPress to import attachments from another 
blog using a WXR file.
 Copyright (C) 2014 Toasted Lime

This program is free software; you can redistribute it and/or modify it under the
terms of the GNU General Public License as published by the Free Software Foundation;
either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY 
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A 
PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this
program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street,
Fifth Floor, Boston, MA 02110-1301, USA.

The license and copyright applies to all resources bundled with this plugin, except
as noted below:

Portions of this plugin use code from:

 * [WordPress Importer](https://wordpress.org/extend/plugins/wordpress-importer/)
   which is distributed under the terms of the GNU GPL v2, Copyright (C) 2013 wordpressdotorg.
 * [jQuery UI Smoothness Theme](http://jqueryui.com/themeroller/) which is distributed
   under the terms of MIT License, Copyright (C) 2014 jQuery Foundation and other
   contributors.

### Changeset

#### 0.6.0

Should not get “Remote server did not respond” as often.

#### 0.5.6

 * Invalid file type produces non-fatal error.

#### 0.5.5

 * Added an overall progress bar.
 * Improve how the program responds to events like fatal errors, AJAX failure, or
   if there are no attachments in the import file.

#### 0.5.4

 * Fixed issue reading namespaces in import file that caused the program not to 
   work in FireFox and Internet Explorer.
 * Moved plugin to Import menu from the Media menu.

#### 0.5.3

 * Added option to add five second delay between image ajax requests
 * Reformat Readme
 * Added jQuery tooltip

## 安裝方式

 1. Either a) download from the WordPress plugin repository, or b) upload the attachment-
    importer directory to your plugins directory.
 2. Navigate to Plugins -> Attachment Importer and activate.
 3. Go to Tools -> Import -> Attachment Importer to run.

## 使用者評論

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

### 󠀁[Still great!](https://wordpress.org/support/topic/still-great-6/)󠁿

 [cyrillbolliger](https://profiles.wordpress.org/cyrillbolliger/) 2019 年 12 月 
4 日

Even though the plugin hasn't been updated for quite a while, it still works great
even with the latest WordPress (5.3). Thanks for the development!

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

### 󠀁[Super Impressed!](https://wordpress.org/support/topic/super-impressed-4/)󠁿

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

I have some expensive importer/exporter plugins and this was the only one that would
move over the images between hosting services and import them into the database 
without an issue. Nice work!

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

### 󠀁[Thank you so much!!!!](https://wordpress.org/support/topic/thank-you-so-much-67/)󠁿

 [marushu](https://profiles.wordpress.org/marushu/) 2018 年 7 月 18 日

I found this plug-in as I was having trouble moving data on a shared server that
can not be migrated. Importing of media that has failed many times is proceeding
smoothly. Thank you for a wonderful plugin !!

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

### 󠀁[Thank you!](https://wordpress.org/support/topic/thank-you-1643/)󠁿

 [vergiis](https://profiles.wordpress.org/vergiis/) 2018 年 6 月 9 日

You saved me from a couple of weeks work!

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

### 󠀁[Very helpful plugin that works](https://wordpress.org/support/topic/very-helpful-plugin-that-works/)󠁿

 [Little Package](https://profiles.wordpress.org/littlepackage/) 2018 年 3 月 5 
日

Thank you so much for sharing this with the WP community. It helped me get around
timeouts and so much frustration. I didn't find any problems with the plugin.

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

### 󠀁[It went beyond my expectations!](https://wordpress.org/support/topic/it-went-beyond-my-expectations/)󠁿

 [pseudonymus](https://profiles.wordpress.org/pseudonymus/) 2016 年 11 月 30 日

I`ve been searching for a solution to deal with faulty demo content importing processes,
and the Attachment Importer plugin works flawlessly! Literally, it saved me hours
of work! What I would love to see though is an update, just to get rid of that "
2 years" notice from the plugin page.

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

## 參與者及開發者

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

參與者

 *   [ Spencer Piontkowski ](https://profiles.wordpress.org/piontkowski/)

[將〈Attachment Importer〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/attachment-importer)

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

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

## 中繼資料

 *  版本 **0.6.0**
 *  最後更新 **12 年前**
 *  啟用安裝數 **3,000+**
 *  WordPress 版本需求 ** 3.0 或更新版本 **
 *  已測試相容的 WordPress 版本 **4.0.38**
 *  語言
 * [English (US)](https://wordpress.org/plugins/attachment-importer/)
 * 標籤:
 * [attachment](https://tw.wordpress.org/plugins/tags/attachment/)[attachments](https://tw.wordpress.org/plugins/tags/attachments/)
   [image](https://tw.wordpress.org/plugins/tags/image/)[import](https://tw.wordpress.org/plugins/tags/import/)
   [importer](https://tw.wordpress.org/plugins/tags/importer/)
 *  [進階檢視](https://tw.wordpress.org/plugins/attachment-importer/advanced/)

## 評分

 4.3 星，滿分為 5 星

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

[撰寫評分](https://wordpress.org/support/plugin/attachment-importer/reviews/#new-post)

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

## 參與者

 *   [ Spencer Piontkowski ](https://profiles.wordpress.org/piontkowski/)

## 技術支援

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

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