-
Notifications
You must be signed in to change notification settings - Fork 211
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]: delete file while viewing / playing #76
Comments
Hi, Thank you for the suggestion. The aim of this app is to provide a directory-first photo gallery website (i.e., the phosoes should be rendered as they are, without modification). I would like to keep this approach. Best, |
I'm closing this due to inactivity |
I really like the read-only and directory-first approach of PiGallery2, which is what makes it much better suited for light-weight installations than e.g. Lychee (which seems to use its own cryptic directory structure, making it hard to work with the images from outside the app). My personal use case for PiGallery2 is an installation on a Raspi Zero W, which I use to backup my Camera's SD card while travelling (and syncing them back home to my Nextcloud server whenever there's free Wifi available). However, I also would like some option to delete photos before syncing. One solution I could imagine -- while keeping PiGallery2's read-only approach -- would be to support flagging Images for deletion only in PiGallery2's database. Or more generally: allow some kind of tagging/flagging (#38). Another script in the background (not part of PiGallery2) could then access the database and e.g. delete all images that are tagged/flagged in a certain way. In that way, PiGallery2 core could keep its approach of not altering the images themselves while still allowing more advanced (admin) users to have some kind of image deletion/altering/whatevering options based on user input from the browser. |
Hi Also, it is an open source project, feel free to alter for your taste :) |
Here's my Work in Progress (and mostly quick&dirty) fork with support for trashing images/videos while playing, similar to what the OP @knguyen0105 asked for: Basically, once you enable the feature in Trashing files is implemented server-side by moving them into a new subdirectory (Client.Trash.trashFolderName, defaults to Images can be restored by "trashing" them from the trash folder. In that case, they just get moved back one dir up into the original album. It's all not really field-tested yet, use at your own risk! |
Hi. Thank you! Patrik |
I think that this is something that i would like. I'll tell you how i use PIG. I dump ALL myp hotos into {YEAR} / {xx MONTH} directories. It is from my camera, or our phones. It doesn't matter. They all go into those folders. From there, i use DigiKam to add tags/captions to the photos. This allows me to generate "logical albums" using tags (which PIG does a good job of displaying) as well as view all the photos that have been taken by the month. There is a lot of crap in my bulk uploads, and it would be good to be able to delete them where ever i am, whether i am using DigiKam, or on the net at work. Same goes for adding tags to photos. I would love a limited set of functionality that would allow me to edit the files via PIG. Also a list of tags from the DB would be awesome too! |
Any change that the delete function will be implemented ? (even @flesser approach is enough). |
No really. I was thinking about putting this to some kind of addon, but the more I think of that the less I see the solution for creating addons. Generally I do not want so see any gallery modifying feature on my personal instance. Making #310 would it make possible to separate it. I updated the README.md to reflect this state of the app. |
Closing this as it goes against he current philosophy of the app: |
Does this still work 4.5 years later?!? Edit: Just checked it out, the file structure seems to have changed too much... |
At the moment, the software only support viewing images/videos. Sometimes I only need to keep a few images or videos in a whole downloaded albums / collections to save space on my server.
I'd love to be able to delete an image / video (or a folder) while browsing.
The text was updated successfully, but these errors were encountered: