Import attachments from another WordPress blog using a WXR file.
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.
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: