Repository navigation
Subjects #443
|
I love the idea of subjects, however from what I can see this is a set list / auto generated and photos are automatically assigned to a subject. Having just installed this, I found there is no way of editing the subject(s) or adding new ones is this correct ? It would also be great to be able to drag/drop photo(s) to a subject and edit existing ones. For example the imported folder contains a good number of portraits, however under subjects/portraits it only picked up 3, not sure why it only selected 3. |
Replies: 1 comment 1 reply
|
Yes, that's correct for the current version. Subjects are not tags that photos get assigned to. They are a fixed list of 8 saved searches (family, kids, pets, portraits, food, sports, landscape, night). There is no UI to add, rename or edit them, and nothing to drag photos onto, so drag and drop can't work either. The list is hardcoded here: lap/src-vite/src/common/smartTags.ts Lines 14 to 23 in cfb3b7d Each subject is just an English text prompt. For portraits it is "a portrait or headshot of a single person, face clearly visible, shallow depth of field background blur". When you click a subject, the app runs the same local AI image search as the search box, using that prompt: lap/src-vite/src/components/Content.vue Lines 7853 to 7874 in cfb3b7d It only shows photos whose match score is above a fixed threshold of 0.25, which is not configurable: lap/src-vite/src/stores/configStore.js Lines 227 to 228 in cfb3b7d That is likely why you only see 3 portraits. The prompt describes a fairly specific shot (one person, clear face, blurred background). Portraits that are group shots, full body, or without a blurry background may score under the cutoff, so they are left out. For now the workaround is to use the normal search box with your own prompt, for example "portrait of a person", which uses the same AI search without the fixed prompt. If you want custom subjects, manual assignment or drag and drop, that would be a feature request, so it's worth opening one as its own discussion or issue. (I looked this up in the code with help from an AI assistant; the links are to the lines I checked.) |
Yes, that's correct for the current version. Subjects are not tags that photos get assigned to. They are a fixed list of 8 saved searches (family, kids, pets, portraits, food, sports, landscape, night). There is no UI to add, rename or edit them, and nothing to drag photos onto, so drag and drop can't work either.
The list is hardcoded here:
lap/src-vite/src/common/smartTags.ts
Lines 14 to 23 in cfb3b7d