Plugin / Attachment Importer

Toasted Lime



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.


  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:
    • Same name
    • Same file name
    • Same upload date
    • Same file size

How it works.

This plugin uses FileReader and to parse the XML file in the browser, then uses ajax to request WordPress perform individual uploads.


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 which is distributed under the terms of the GNU GPL v2, Copyright (C) 2013 wordpressdotorg.
  • jQuery UI Smoothness Theme which is distributed under the terms of MIT License, Copyright (C) 2014 jQuery Foundation and other contributors.



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


  • Invalid file type produces non-fatal error.


  • 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.


  • 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.


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


25 reviews

Rating breakdown

Details Information



First Released

16 Feb, 2014

Total Downloads


Wordpress Version

3.0 or higher

Tested up to:


Require PHP Version:





The plugin hasn't been transalated in any language other than English.


The information provided in this THEME/PLUGIN DIRECTORY is made available for information purposes only, and intended to serve as a resource to enable visitors to select a relevant theme or plugin. wpSocket gives no warranty of any kind, express or implied with regard to the information, including without limitation any warranty that the particular theme or plugin that you select is qualified on your situation.

The information in the individual theme or plugin displayed in the Directory is provided by the owners and contributors themselves. wpSocket gives no warranty as to the accuracy of the information and will not be liable to you for any loss or damage suffered by you as a consequence of your reliance on the information.

Links to respective sites are offered to assist in accessing additional information. The links may be outdated or broken. Connect to outside sites at your own risk. The Theme/Plugin Directory does not endorse the content or accuracy of any listing or external website.

While information is made available, no guarantee is given that the details provided are correct, complete or up-to-date.

wpSocket is not related to the theme or plugin, and also not responsible and expressly disclaims all liability for, damages of any kind, arising out of the use, reference to, or reliance on, any information or business listed throughout our site.

Keep Leading Your Followers!
Share it for them.