stashapp / stash

An organizer for your porn, written in Go. Documentation: https://docs.stashapp.cc
https://stashapp.cc/
GNU Affero General Public License v3.0
8.45k stars 751 forks source link

[Feature] Tag Inheritance Images ==> Galleries #2349

Open SirCumAlot1988 opened 2 years ago

SirCumAlot1988 commented 2 years ago

Firts of all, many thanks for this great tool! :-)

Is your feature request related to a problem? Please describe. I use keywords in the filename to Tag my images (e.g. "BT" for Big Tits or "MMF" for a Boy/Boy/Girl scene, etc.). This works very well with the Auto Tag function. However, in the Galleries Tab I cannot search for these Tags but only for the Tags associated to Galleries. Since I have a lot of image sets, it would be really cumbersome to manually assign these Tags for every Gallery.

Describe the solution you'd like Galleries should automatically inherit all Tags of all images within this gallery. So, if a gallery contains an image with the tag "Double Penetration" the gallery should get this tag as well.

Describe alternatives you've considered Add a "Image Tags" Filter similar to the "Performer Tags" filter, which would filter for galleries with one or more images with the requested tag.

Third option could be to add a "Include Image Tags" Checkbox to the Galleries Tags Filter.

WithoutPants commented 4 months ago

Automatically adding image tags to galleries should be possible using plugin hooks.

Filtering galleries on image tags, and images on gallery tags should be considered.

sleetx commented 4 months ago

I agree that any "tag inheritance logic" should be a plugin. Some users have the opposite use case where images should inherit metadata from their respective galleries.

Adding a gallery filter for Image Tags (similar to Performer Tags) is a worthwhile idea, however.