[Feature] some type of control over albums in the storage template engine #6810
Replies: 8 comments
-
Update: based on some testing it looks like Immich currently uses the most recent album for the storage template engine. I do think some better control over this would be nice, but for now I will make a documentation note of this fact. |
Beta Was this translation helpful? Give feedback.
-
I fully agree with this idea and would also like to have some control over how the storage engine stores these files. I also use the {{album}} template. In my case, I have all my photos from the last 20 years sorted into albums according to events (holidays, birthdays, parties, ...). This is my primary sorting method. The photos should be organised by event in folders. With this method, I have survived several changes in the storage of my photos over the last few years in a reasonably structured way (from self-hosted solutions to cloud services and back). That's why I want to keep it that way. I recently created a "best off" album for my daughter's 18th birthday. Unfortunately, the "STORAGE TEMPLATE MIGRATION" job moved all the selected images from the event albums to the "Best-Off" album. But that doesn't fit in with my filing strategy... So it would definitely be cool if immich had more control over which folder the job saves the images in. I wonder what is the best way to do this?
P.S.: I can't code. But I love Immich. Immich has helped me put all my family photos from the last 20 years from different places and different structures into a good structure. It's beautiful and most things work as expected - especially the face recognition is much better than I've ever experienced with other programmes. |
Beta Was this translation helpful? Give feedback.
-
This would definitely be an awesome thing to have. I currently run 'Immich-Frame' - an amazing app that turns a laptop/tablet etc. into a beautiful picture frame using the images from immich! It has a feature where the recently displayed pictures (recent 50 or something) are added to an album (we decide which album that app needs to use) -> This is useful if I want to do something with those images (delete/archive/edit date/edit location etc). What this does is move my pictures around, from an album where I want it ->TO-> immich-frame album. Sort of annoying and confusing the first time I was looking for those images. |
Beta Was this translation helpful? Give feedback.
-
There are some nice mockups by @Szeraax and suggestions as to how this might work using a "primary album" concept in #10839 |
Beta Was this translation helpful? Give feedback.
-
A feature like primary album or some other concept allowing granular control over photos belonging to multiple albums would be great. Until then, I wonder if simply reversing the current behaviour and using the oldest album would be a more sane default. My usual workflow is to create event-based albums like "Tom's birthday" and "Wedding anniversary" which I want to be reflected in the file system. It's usually afterwards that I find myself creating additional secondary albums like "Best of 2024" or "Birthday slideshow" or other variations for sharing and/or aggregating. |
Beta Was this translation helpful? Give feedback.
-
Maybe im missing something, I am new here and havent looked through the code, but could one solution not be creating hardlinks in all the album folders ? That way the image is just present in all of the albums, but only actually stored once on disk? This might be more user friendly while also reducing UI work required to support albums. |
Beta Was this translation helpful? Give feedback.
-
Primary album is necessary. |
Beta Was this translation helpful? Give feedback.
-
Currently in the process of migrating my 80k family pictures to Immich. The storage template is a great feature, and should be limited to using a "Main Album" in case a photo were to be placed in different albums.
Immich has already some great automatic grouping features like faces, places, etc. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
The feature
I have a number of photos that are in multiple albums, and I would like to have some control over how the storage engine stores these files as I use the
{{album}}
template. I believe it currently select a random album and names it based on that album name.I think there are a few ways to implement this, the easiest option may be in
server/src/domain/storage-template/storage-template.service.ts:191
, we could changealbumName = albums?.[0]?.albumName || null;
toalbumName = albums?.sort().[0]?.albumName || null;
. I am not well versed in TS so the syntax may be incorrect but essentially this would sort by album in alphabetical order, allowing me to name "hidden" albums for examplezAlbum Name
.Platform
Beta Was this translation helpful? Give feedback.
All reactions