FossifyOrg / Gallery

Browse your memories without any interruptions with this photo and video gallery
https://www.fossify.org
GNU General Public License v3.0
1.67k stars 57 forks source link

Tags #26

Open nvllz opened 10 months ago

nvllz commented 10 months ago

Checklist

Describe the solution you'd like I'd like the application to support tagging of media files, allowing users to tag any number of files with a short phrase that would return related items when searched. A single media item could be tagged with multiple tag phrases, and these should only appear within the application, without changing the EXIF data of the file.

Describe alternatives you've considered Users may consider grouping their media into albums (folders), but this somehow blocks the ability to discover different images based on numerous details. This feature would open up a great way to manage collections.

Additional context There are many ways to use this kind of feature, but trying to understand it can change the way you work with larger collections of images and videos. Separating vacation pictures tagged with "summer-2023" and "summer-2022", but still having some of the common pictures tagged with "beach", makes the whole collection more accessible and simply more user-friendly, if used properly.

It was reported several times in the original repo (issue 373), but unfortunately never made it into the application. I hope you will consider this idea.

ghost commented 10 months ago

This would simply be amazing for all users who manage their media files locally. There is another FOSS gallery app that already implemented this, Aves, but sadly the UI is outdated and this gallery app is simply better.

You could also add the ability to search for xmp/iptc metadata tags. In alot of professional photo editing programs you can automatically add tags to images - for example 'Mountains' or 'Cats'. Being able to search for these tags in the app would be amazing, since you can add the tags in one place and read them in another. This means that it doesn't matter what file/media viewer you use, the tags are visible everywhere. The same also applies to favorites.

Hope you are interested in implementing this!

test2a commented 10 months ago

@BabyBenefactor maybe #19 can help to automate this?

ghost commented 10 months ago

@BabyBenefactor maybe #19 can help to automate this?

Thanks, didn't know about this.

Still, it would be great to be able to search through the metadata with this gallery app. And maybe mark the files in metadata aswell when pressing the favorite button to improve cross-platform compatibility.

jan-leila commented 9 months ago

this seams like it could be broken down into 2-4 smaller feature requests such as:

we should also consider the UI implementations of all of these

individual image things would prob just go in the hamburger menu on an image

but for the other two where should those go, should we add a new filter icon that opens a model to be able in the future for example be able to filter by other data such as image creation time, image location etc

and for the tag view option I would imagine that would go under the "Change view type" button

if we do go with adding the LLM tagging in the future we should also have an option to disable using the tags that it generates on both group and filter views as well as having a way to distinguish them and audit them on individual images

test2a commented 9 months ago

my personal desire is to identify faces. Not sure how that can be done on android locally but softwares have been doing that on desktop for a decade and phones are now just as powerful, maybe more but yeah. we should not have to reinvent the wheel.

naveensingh commented 9 months ago

@test2a grouping together similar faces is not that hard, the issue is the increase in app size depending on the implementation.

nvllz commented 9 months ago

I don't think you understand what I mean. It's mainly about manual tagging, not some AI thing grouping images for you, nor modifying file EXIF data.

The user tags a group of images (img1, img2, img3, img4) with the phrase "landscape". In addition, the user wants to tag two of the first landscape images with "river". This way, when searching for river images, the user will only get img1 and img2 from this group, but all 4 files when searching for landscape. This is simple, but very useful.

Once the application has this simple tagging feature, we can discuss language models and other more advanced things. It's been requested for years, and if we have to wait a few more years because the approach is too complex, let's get it done in the simplest way first, please.

jan-leila commented 9 months ago

ya things should be 1 step at a time here:

we shouldnt be thinking about those last 2 until the first 4 are in because they mean nothing without the first 4, if you want those last two before the first 4 then just use another tool for it because it doesnt interact with the current tool as stands

tobiasBora commented 3 months ago

Would love this as well, together to add comments to pictures. But I'd like this to be written in the exif data as well so that this is mot lost when importing images from a laptop (with digikam for me).

OkyDooky commented 2 months ago

I'd also recommend targeting whatever metadata category/type is most common for desktop gallery apps, since images tagged in Aves show them as like comments or something in Gwenview. It was quite the buzzkill. I think it's XMP that Aves targets?

Saarsk commented 4 weeks ago

Tags seem interesting.

Though, I'm not sure it seem worth the hassle to tag photos unless the tags actually follows the file. So that they still appear when I either upload it to Nextcloud or to my computer and open it in Dolphin/Gwenview.

Then again, I can understand how someone wouldn't want the tags to follow the file.

I think it ideally should be possible to do both, optionally, although I'm not sure whether there are metadata standards for this or whether it needs to be hacked into the metadata where it "kinda sorta fits". For all I know, Nextcloud, Paperless, Dolphin and others might as well just have a db file for it.