You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I propose a PG2 managed folder at the top level of the Gallery (Images folder) called "Collections". PG2 would create sub-folders for media collections within this. Media would be added to these Collections using file hard-links to the original file in the gallery.
Benefits:
Collections are very fast (i.e., same speed as existing Gallery).
Negligible additional storage space is required for the hard-linked "copies" in the Collection directories. The file system simply adds a pointer to the same physical storage for each "copy".
No changes are made to the original photos
Viewing a Collection is done through the existing Gallery view
Sharing mechanism is unchanged, but now has ability to share arbitrary collections of media.
Photos can be added to an Collection iteratively
MVP:
Core updates:
Create a "Collections" folder inside the root "Images folder". This is writable by PG2.
Create/Add Photos to Collections:
Add "Save to Collection" button on the search screen. This button opens a dialog which allows the user to select an existing Collection or create a new one. If required, it then creates a folder with that name in the Collections folder. It then and adds hard links in that folder to all files in the search.
If the user enters a name that matches an existing Collection, they are prompted to select that Collection.
If any of the added files already exist in the Collection, skip them.
Delete Photos from Collections:
Done through file system
Delete Collections:
Done through file system
NOTES:
Duplicate thumbnails and converted photos/video will be stored for each "copy" of a photo in a Collection.
Backlog Features:
In (arguably) descending priority:
Select individual photo from the Gallery or a Search and add to a Collection (could be a menu option or button on the full screen view that brings up the "Save to Collection" dialog.
Remove individual photos from a Collection (i.e., a Garbage Can icon on the tiles in the Collection).
Delete Collection: Add ability to delete Collections using the "Garbage can" icon on each Collection tile. Deletes folder and all hard links in it.
Multi-select photos from the Gallery or Search result and add to Collection.
Multi-select photos from the album and remove them from the Collection.
Clean-up Collections Background Task: A regularly scheduled task to remove hard-linked photos in Collections if the original/source file in the Gallery is deleted (otherwise the link(s) in the Collection folder(s) will retain the file).
Logic to create hard-links to thumbnails, converted photos/videos, etc for file instances in Collections, rather than creating duplicates.
Move "Collections" folder outside the Images folder directory structure and create a new "Collections" item in the top task bar. This would open a separate Gallery-style view at the Collection folder root.
Summary:
This appears to be an approach that at first glance offers a lot of flexibility while exploiting existing capabilities. Of course, I don't know the code, so there may be obstacles that aren't apparent to me.
Note that you can implement Collections directly through the file system by manually creating the "Collections" directory tree and adding hard-links.. However, it would be much more convenient to have this integrated into BG2.
The text was updated successfully, but these errors were encountered:
ericnotthered
changed the title
Alternative Album/Sharing approach - Folders with Hard links to photos
New Album/Sharing approach - Folders with Hard links to photos
Jan 17, 2024
ericnotthered
changed the title
New Album/Sharing approach - Folders with Hard links to photos
Collections
Jan 17, 2024
If the app should support #301, it should do it properly. Implementing that would take a long time and not part of my current main focus.
I'm currently working on creating extension support with the app. The solution described above, should be a possibility with my extension support that i'm planning.
Problem:
I see a number of requests related to albums and sharing, including:
Solution Summary:
I propose a PG2 managed folder at the top level of the Gallery (Images folder) called "Collections". PG2 would create sub-folders for media collections within this. Media would be added to these Collections using file hard-links to the original file in the gallery.
Benefits:
MVP:
Core updates:
Create/Add Photos to Collections:
Delete Photos from Collections:
Delete Collections:
NOTES:
Backlog Features:
In (arguably) descending priority:
Summary:
This appears to be an approach that at first glance offers a lot of flexibility while exploiting existing capabilities. Of course, I don't know the code, so there may be obstacles that aren't apparent to me.
Note that you can implement Collections directly through the file system by manually creating the "Collections" directory tree and adding hard-links.. However, it would be much more convenient to have this integrated into BG2.
The text was updated successfully, but these errors were encountered: