Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: download using File System API #359

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ccvca
Copy link

@ccvca ccvca commented Jan 21, 2024

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.
ccvca/theme-flow@33f4bba

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant