Make images and albums selectable in the photowall
From @arkascha on January 3, 2016 20:56
The file list view of a folder offers a checkbox per file to select multiple files and use actions on a set of selected files.
The same would be very useful in the galleries photowall, since it offers a much better preview of the individual files. For albums this would clearly the preferred way to make a selection. Possible actions for sets of selected pictures would be:
- download of set as an archive
- preview of set in slideshow
- deletion of elements in set
- moving of elements in set
- ...
The actions are already implemented, this enhancement is just a duplication of an existing feature inside the front end.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
Copied from original issue: owncloud/gallery#487
Yes, it's on my roadmap, but after drag and drop has been implemented (and after that, there may be other priorities as well)
Hello, drag&drop has been merged, did the priorities change? ;) If so, I might try to hack around to implement it very quickly (and dirty) for my own use case.
Please have a go at it :)
Would some common code with Files be preferable? For the moment I am making a lot of duplication, but I don't know the policy of code sharing between (even official) plugins.
I have some (ugly) working code on my instance, I may need a few days to clean this up a bit to be usable as a base to finish correct implementation.
The best way is to duplicate libraries and code. We've had issues in the past where code changes in Files would then break Gallery.
I've packed-up an early working code on my fork : https://github.com/desaintmartin/gallery/tree/feature-selection-wip
Beware : not tested yet.
What do you think about it, functionnally speaking? I propose first to look at what it should look like from the user perspective, then when it is ok I try (with your guidance on some points) to clean the code, separate from Files and properly test it.
Sorry about the delay, it is very hard for me to find time for this personal project.
Please note that currently :
- No mobile support has been correctly implemented (and I even wonder if it is a good idea to do it on mobile)
- Navigating through albums breaks the feature
- Album selection is not supported (yet?)
- No move/delete or showing total number/size is planned