Version: svn 0.8 (using KDE KDE 3.4.2) Installed from: SuSE RPMs Compiler: gcc 3.3.4 OS: Linux Before I used digiKam and it's great tagging features I often had subfolders of an album which contained a subset of the images i.e. a selection for a slideshow. However since I can now use the digiKam tags to achieve this I want to get rid of these subalbums and instead tag the photos. Therefore I would like to have a feature in digikam which tags my photos based on items in an other album. What I basicly need is the following sql statement: replace into ImageTags (ImageId,TagId) select id,<tagID> from Images where dirid=<targetAlbum> and name in (select name from Images where dirid=<targetAlbum> intersect select name from Images where dirid=<selectionAlbum>); <tagID> is the ID of the tag which should be assigned to the images <targetAlbum> contains the photos which should be tagged <selectedAlbum> contains the subset of the images. If one can apply this action from within digikam I could simply use the existing selections to tag my photos and get rid of redundant files.
Created attachment 12123 [details] proposed patch proposed simple patch to implement this feature in digiKam.
Couldn't one achieve this by manipulating the sql data-base directly? To me it looks like a pretty special situation so that I am not sure if this feature is really usefull to many. Dominik, as this wish and patch are pretty old by now, the question is whether it still applies. Any feedback is very much appreciated. Best, Arnd
At least I do not need this functionality any more because I already tagged all my images with this patch. Dominik
Hi Dominik, ok. Now I am really not sure what to do. Simply closing this bug just seems not fair - you made the effort to contribute a patch (and the more people help with digikam, the better, however seeing a patch not being applied of course discourages further contributions ...). On the other hand, it seems not to be a commonly requested feature, in the sense that this wish did only get votes by one person. Generally, such one-off things are better dealt with a script, see utilities/scripts. These are also easier to understand and change for people with less programming experience. So would it be ok for you to close this wish? Thanks a lot for your understanding, Arnd
At the risk of appearing unfriendly, I close this bug. Dominik, still I hope that this does not discourage you from further contributions to digiKam! Thanks a lot. Best, Arnd