Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement image tags #17

Closed
oferkv opened this issue Mar 7, 2014 · 10 comments
Closed

Implement image tags #17

oferkv opened this issue Mar 7, 2014 · 10 comments

Comments

@oferkv
Copy link
Owner

oferkv commented Mar 7, 2014

No description provided.

@oferkv oferkv self-assigned this Mar 12, 2014
@oferkv oferkv removed the High label Jul 5, 2014
@JHooverman
Copy link
Contributor

I would like to see this as well. It is a must for an image organizer.

@krzyc
Copy link
Contributor

krzyc commented Dec 5, 2014

I would like to know what progress of resolving this issue is.
I am adding similar functionality for my own purposes.
My idea is to add SQLite database which will hold additional attributes.
What I have made is image table (filename, label, description, tags, date, md5sum, width, height, rating) which for test purposes is populated after clicking on thumbnails. Next I have created option_group table for groups of options like persons, places etc. and option table with options like John Doe, London etc. Finally image_option table keeps references of options assigned to images.
For now I have:

  • populating database with images (after clicking on thumbnail),
  • editing user fileds eg. label, description, tags, rating (it will need widget with stars or something),
  • displaying groups of options and options in tab (File system goes to one tab, Database goes to another),

What I want to add:

  • browse images in db and filter them by options, year, month etc.,
  • search images db,
  • edit group of options and options,
  • set paths for indexing and add auto-reindexing,
  • allow converting db to relative paths (ralative to db path) for use on DVD or USB stick and easy access from Linux and Windows,
  • automatically reindex moved photos by md5 sum,
  • caluclate new md5 sum for modified photos.

screenshot

@oferkv
Copy link
Owner Author

oferkv commented Dec 6, 2014

Hey krzyc!

Regarding progress of image tags, I am about to start experimenting and writing the code according to the design, I estimate this to be ready in about 4 weeks (working only on weekends...)

The image tags feature design in Phototonic is simple, and does not require using additional libs. It is purely based on Exif, or rather IPTC Keywords tag (I always hated software that wants to "manage" your media in its own DB separated from the file system, most notable are music players).
The only data that Phototonic will save in its configuration is the "Known tags" list.

The work flow will consist of a new Tags dock that enables the user to perform various tags operations.
The dock will contain a list with entries, it should be possible to have 3 states per entry (I have not yet decided which control to use exactly).
This dock by default will be populated with the "Known tags" list.

When thumbnails are loaded for a directory, Phototonic will read the keywords for the images being loaded, and change the state of an entry for each unique tag it sees, for example: if the "Amsterdam" tag is encountered in images contained in this directory, the "Amsterdam" tag in the list should be in a state indicating that it is available in the directory.
If a tag is encountered that is not in the "Known tags" list, it will be added to it.
Eventually, when all thumbnails have been loaded, the dock should display all of the known tags, while the tags available in the directory are marked.

When a user selects a thumbnail or multiple thumbnails, the tags dock should change to reflect what are the tags associated with the selected images, also enabling to add / remove tags for the selected items, creating new tags and deleting tags.

In addition, the user can choose to display only images associated with specific tags (the 3rd state).
The dock should have a general appearance such as the following example:

tags

Regards,
Ofer

@oferkv
Copy link
Owner Author

oferkv commented Jun 24, 2015

Done.

@oferkv oferkv closed this as completed Jun 24, 2015
@ghost
Copy link

ghost commented Jun 28, 2015

How do I add new tags to an image? Cannot find such a fuction.

@oferkv
Copy link
Owner Author

oferkv commented Jun 28, 2015

Hey fguzm!
When you select an image or multiple images, you can create a new tag and assign it to them using the new tags dock, like in this screenshot for example:
tags_example

@howudodat
Copy link

just curious why you chose IPTC instead of XMP tags? Any chance on an option to write to either? Also is there a way to edit other IPTC fields or only "keywords"?

@oferkv
Copy link
Owner Author

oferkv commented Dec 25, 2015

Hey.
I think I was inspired by how gThumb's implementation.
But does it matter what keywords are used?
Editing image metadata would be a nice feature...

@howudodat
Copy link

I have found that it doesn't matter too much whether to use IPTC or XMP, unless one is a Photoshop fanatic :). It would be nice however to edit other IPTC metadata (title, caption, etc)

@oferkv
Copy link
Owner Author

oferkv commented Jan 17, 2016

Opened issue for this: Allow editing metadata (Exif fields...). #207

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants