[Digikam-users] Remove foreign tags

Peter Albrecht peter at crazymonkeys.de
Fri May 22 15:18:40 BST 2015

On 21.05.2015 21:54, Heikki Rekki wrote:
>> From: Gilles Caulier <caulier.gilles at gmail.com>
>> 2015-05-21 10:53 GMT+02:00 Heikki Rekki <heikkirekki at gmail.com>:
>>> 2.  digiKam imports all embedded tags from fotos and I have many pictures
>>> downloaded from net. So, I have hundreds of tags in my list and I didn't
>>> know, how to remove those, whitch are not relevant to me. I must first
>>> select all not importatn tags and delete them. Is there any other method to
>>> group tags, can I make new tag (my tags) and then paste my own tags to
>>> there? I couldn't find sutch method still. If I could make my tags for
>>> instance named "000 my tags", they are allways first in the list and I
>> must
>>> not seek them all over the tags. My own tags are nested as ACDSee mede
>> it.
>> Did you try Tag Manager tool from AlbumGUI/Tags menu ?
> ​As far as I<understand, yes.​
>> After tags tree-view management, you must perform a sync of file metadata
>> with DB (see Maintenance tool). This can take a while...
>> ​That I did not do.​

Once in a while, I encounter this problem, too. When friends 
send me their tagged fotos, digikam happily imports their 
tags (from image XMP), too. Since everybody uses different 
tags, this somehow "polutes" my tag tree.

My workflow in those cases:
  1. Go to the album, which contain the newly imported
     pictures from my friend
  2. select all pictures
  3. in the right side view "Captions/Tags" I enable the
     button "[view] Tags already assigned"
  4. uncheck all checkboxes (to remove the tags from the
  5. "Apply"

This removes all tags from the fotos, but the tags remain in 
the tag tree.

  6. I go through the left side view "Tags" and delete all
     tags, which are assigned to 0 fotos (the number of
     fotos which have this tag assigned can be seen in
     braces after the tag name (e.g. "Uncle Jon (5)").

Feature requests:

To speed up this process, the following two ideas came to my 

a) "Delete all tags of a foto with one click"

This function could be added in the right side view 
"Captions/Tags" as additional action at the "More"-button.
With safety query "Are you sure to remove all tags from the 
selected fotos?"
This would speed up step 4.

    -> https://bugs.kde.org/show_bug.cgi?id=348104

b) "Delete all unused tags"

In "Tags Manager" -> "Organize" one could add a new function 
"Delete all unused tags".
This function would collect all tags, which
    - are not assigned to a foto
    - and have no child-tags (or only unused child-tags)
This list would be presented to the user:
   "Do you really want to delete the following tags?
      - sample tag 1
      - sample tag 2
      - ..."
This would speed up step 6.

    -> https://bugs.kde.org/show_bug.cgi?id=348105

Just my thoughts about this topic.

	Peter Albrecht

More information about the Digikam-users mailing list