=== iP Media ZIP ===
Contributors: iplabs
Requires at least: 5.6
Tested up to: 6.8
Requires PHP: 7.4
Stable tag: 1.1.1
License: GPLv2 or later

Download the original files of your Media Library as ZIP, and restore them from those ZIPs, filtered by date range and file type. Built in chunks and split into parts for large libraries.

== Description ==

* Settings page under Media > Media ZIP (also linked as "Settings" in the Plugins list).
* Filters: upload date range, file types.
* Originals only, year/month folder structure kept.
* Chunked build with progress bar; continues via WP-Cron if the tab is closed.
* Splits into several ZIP parts (default 500 MB each).
* Download via a protected, nonce-checked link; files auto-delete after N hours.

= Restore (new in 1.1.0) =
* Media > Media ZIP > "Restore from ZIP": select one or several ZIP parts and click "Upload & restore".
* Works on the same site or on a different/empty site (migration of the media library).
* Uploaded in small pieces (about 2 MB), so upload_max_filesize does not limit you.
* Files are unpacked into uploads/ (same year/month folders) and added to the Media Library;
  thumbnails are generated. Date comes from the year/month folder, title from the file name.
* Files that already exist are skipped, never overwritten.
* If the Media Library items already exist (e.g. after restoring the database), only the missing
  files are written and their image sizes are rebuilt - no duplicates.
* Only file types WordPress allows are restored (php, exe etc. are rejected); unsafe paths are rejected.
* Progress is saved: if you close the tab, come back to this page and it resumes.
* Alt text, captions and descriptions are not stored in the ZIP, so they are not restored
  (restore the database for those).

Requires the PHP ZipArchive extension.

== Changelog ==

= 1.1.1 =
* Plugin renamed to "iP Media ZIP" with the version in the name.

= 1.1.0 =
* Restore Media Library from the ZIP files (chunked upload, resumable, skips existing files).

= 1.0.0 =
* First release.
