Export/Import Media

Description

Export/Import Media is the robust solution for migrating your WordPress media library from one site to another, maintaining all SEO metadata.

The plugin generates a CSV file containing all critical information (URLs, paths, alt text, titles, captions, descriptions). You can then use this file to import images into a new site seamlessly.

πŸš€ New in version 1.4.0:
We have completely redesigned the interface! Now featuring a modern Drag & Drop area, Advanced Export Filters (by Product, Post, or Page), and a Downloadable Log for better control.

Why use this plugin?
* Perfect for Migrations: Move thousands of images without server timeouts.
* SEO Friendly: Keeps all your Alt Text and Titles intact.
* Developer Ready: Completely refactored with hooks and filters.

Features

  • Modern Drag & Drop: Upload your CSV files easily with our new visual interface.
  • Secure Import: Uses native WordPress APIs (Sideloading) to ensure files are safe and valid.
  • Smart Export Filters: Export only what you need. Filter by Date Range or by Attachment Type (WooCommerce Products, Posts, Pages, or Unattached).
  • Performance Mode: Option to Skip Thumbnail Generation for lightning-fast imports (up to 5x faster).
  • Downloadable Log: Get a detailed .txt log file after import to debug any issues.
  • Duplicate Prevention: Checks file hash (MD5) to prevent importing the same image twice.
  • Batch Processing: AJAX-powered process prevents server timeouts, even with large files.
  • Local Import Mode: Link images already present in your /uploads/ folder without downloading them again.

Installation

  1. Upload the calliope-media-import-export folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Go to Media > Export/Import Media to start using the tool.

FAQ

Does this plugin move the actual image files?

Yes. During a remote import, the plugin securely downloads the image from the URL provided in the CSV and adds it to your new site’s media library, generating all necessary database entries.

How does the “Skip Thumbnail Generation” work?

By checking this option, WordPress will only import the original image and skip creating the smaller sizes (medium, large, etc.) during the import process. This makes the import much faster. You can regenerate thumbnails later using a dedicated plugin.

What happens if an image already exists?

The plugin performs a smart check using file hashes. If it finds an identical image, it will skip it to avoid duplicates.

Can I filter which images to export?

Yes! You can select a Start Date and End Date, or filter by Attachment Type (e.g., export only images attached to WooCommerce Products).

Reviews

There are no reviews for this plugin.

Contributors & Developers

“Export/Import Media” is open source software. The following people have contributed to this plugin.

Contributors

Translate “Export/Import Media” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.4.0

  • New: Modern Drag & Drop interface for easier CSV uploads.
  • New: Advanced Export Filters: Filter images attached to WooCommerce Products, Posts, or Pages.
  • New: Downloadable Import Log (.txt) for better debugging.
  • UX: Improved file selection with visual feedback (Green card / Remove button).
  • Fix: Resolved conflicts with the “Start Import” button on certain browser configurations.

1.3.0

  • Security: Major hardening. Replaced direct file operations with WordPress native media_handle_sideload.
  • New: Added Date Range Filters (Start/End) to the Export section.
  • New: Added “Skip Thumbnail Generation” option for faster imports.
  • Improvement: Complete code refactoring to Object-Oriented standards.
  • Fix: Enhanced URL validation and permission checks.

1.2.3

  • Improved compatibility with PHP 8.x.
  • Fixed minor UI bugs in the progress bar.

1.2

  • Added Local Import Mode.
  • Added automatic cleanup for temporary files.
  • Improved error reporting for downloads.

1.0

  • Initial release.