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.94k stars 783 forks source link

[Feature] Hide images from galleries #3949

Open peresabcod opened 1 year ago

peresabcod commented 1 year ago

Is your feature request related to a problem? Please describe. Some gallery sets have images that while are part of the release you may not want to see when viewing a gallery, i.e. contact-sheets, clean covers, blurry images, partially broken images, unnecessary images (like just a car, a forest, ... with no performers), etc.

Describe the solution you'd like A way to check the image as hidden. It would indexed in the database and still appear in "images" as usual, but galleries, by default, would not show images tagged as hidden.

Describe alternatives you've considered Maybe there could be a toggle to show/hide the hidden images while in gallery view

GianniBYoung commented 1 year ago

In settings, under Library there is a section called Excluded Image/Gallery Patterns that takes regex to hide images from galleries.

peresabcod commented 1 year ago

In settings, under Library there is a section called Excluded Image/Gallery Patterns that takes regex to hide images from galleries.

That's only useful in specific cases, i.e. to hide "logo.jpg", "contact_sheet.jpg", "banner.jpg", etc. However it's not useful if you want to hide i.e. 015.jpg and 028.jpg of a particular set because it's a photo of a just a tree in the forest or it's blurry or something else

MrX292 commented 1 year ago

cant you just remove those images from the gallery?

peresabcod commented 1 year ago

cant you just remove those images from the gallery?

Well, you may want to preserve the integrity of the gallery as it was published and also not ask yourself in the future why the hell there are missing files in the folder.