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

[Suggestion] Select multiple photos and videos across different albums and download the selection as .zip file #541

Open
wechsler42 opened this issue Sep 27, 2022 · 5 comments

Comments

@wechsler42
Copy link

Hi there,
I would like to suggest an enhancement for selecting and downloading photos and videos.
At the moment I can either select and download one photo/video or a complete album with all its media files. I would like to suggest the enhancement that I could select several photos/videos across different albums and download my selection as a zip file.

@wechsler42
Copy link
Author

Hello Patrik,
with the upcoming Christmas time where all the photo calendars were prepared I just thought on getting back to this feature suggestion. It would be nice and speed up the process when one could select photos across several albums and download them as a zip package.
However, thanks again for offering PiGallery2!

@bpatrik
Copy link
Owner

bpatrik commented Nov 23, 2023

Hi,
thank you for the nice suggestions. This is a more complex feature request. That is not on my roadmap for the next few years. I'm happy to collaborate on a design doc for this feature. Can you take the lead on it?
I'm also happy to review PR.

@wechsler42
Copy link
Author

wechsler42 commented Jan 3, 2024

Hi Patrik,

I try to make a user story for this.

As a PiGallery2 user, I want an easy way to select multiple photos and video clips across all my albums and download the selected items as a zip archive. This process would incorporate at least:

  • While hovering over a photo or video thumbnail, display a checkbox or a circular area on the top left corner where a user can select or deselect the particular assets
  • Display a counter on the top menu bar:
    • "n items selected" if >=1 photo or video clip is selected
    • display a "X" on the right side of the counter for "deselect all"
    • display an icon for "Download all n items" on the right side of the "X"
  • After pressing "download all n items"
    • a .zip archive is downloaded with this naming convention: pigallery2_ archive_YYYYMMDD_HHMMSS.zip
    • the .zip archive contains the selected assets with their original file names
    • after finishing the download all n items are deselected

Some questions I could imagine to think about::

  • What is a suitable archive size?
  • What happens when the suitable archive size is exceeded?

@Tofee
Copy link

Tofee commented Jan 12, 2024

I second this request: this year again, my family wants to download a selection of photos from the album I shared with them. Unable to do so, they just download the whole album (hundreds of photos with sub-folders) and deleted the unwanted ones afterwards...

@wechsler42 it doesn't look like there is any "suitable archive size" concept when downloading a whole album: it either just works, or doesn't. So I don't think we should bother with that in a first implementation.

Your way of handling the selection looks rather nice; however the selection from multiple folders might make things quite complex: maybe, as a first step, we could consider downloading a selection of photos from a single folder ?

@bpatrik
Copy link
Owner

bpatrik commented Jan 13, 2024

The way that would bring us closer to this feature, I think should start with consolidating the backend code for folder listing and searching. (making folder listing as a special case of search).
That would allow a lot of things. One of them would be downloading search results.
Downloading search results already a step forward into downloading partial folders.

As I expressed multiple place in Readme and #738, I'm not implementing feature requests.

My current goal is to enable some reasonable extension #743 and let users extend the app the way they prefer.

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

No branches or pull requests

3 participants