thumbsup icon indicating copy to clipboard operation
thumbsup copied to clipboard

feat: download using File System API

Open ccvca opened this issue 2 years ago • 0 comments

Add an alternative to the zip file for downloading images without addition space on the disk based on https://github.com/ccvca/js-multi-file-download grafik

Works on chromium based desktop browsers (~70% of the users). grafik

Incompatible browsers will see this message: grafik

Requires only minimal changes in the themes. https://github.com/ccvca/theme-flow/commit/33f4bba39146f7c39c2c882cc3dcb84c3f3f085d

Marked as experimental, as window.showDirectoryPicker() is experimental.

  • What does the PR change? This will not require addition space a zip-file, as the files are directly downloaded.
  • Does it introduce a breaking change for existing users? Add new option album-download with the values js and zip and moved album-zip-files to deprecated.

PS: As I don't have much experience with JavaScript, this PR might need some iterations

ccvca avatar Jan 21 '24 10:01 ccvca