Lightroom: Tag duplication in Lightroom 3

  • 2
  • Problem
  • Updated 7 years ago
  • (Edited)
I tag my photos in a "temp" area in my Lightroom catalogue and have noticed over the last few weeks that Lightroom creates a new a new tag for each one as soon as i export the photo from "temp" to its final storage destination in the cat.
> Example
> FLORA (all boxes unchecked)
> Plants (Include on export & export synonyms only checked)
> Plantea (synonym)
> Lightroom creates the following new tags in alphabetical order
> Plants (all boxes checked)
> Plantea (all boxes checked)
>
> Can anyone help, as you will appreciate cleaning out the new unwanted tags wastes an huge of time.
>
> keep on smiling
> Hugh McKean
Photo of Hugh McKean

Hugh McKean

  • 4 Posts
  • 0 Reply Likes

Posted 7 years ago

  • 2
Photo of jw stephenson

jw stephenson

  • 34 Posts
  • 3 Reply Likes
See if checking "Write Keywords As Lightroom Hierarchy" on the metadata export option solves this issue.
Photo of Hugh McKean

Hugh McKean

  • 4 Posts
  • 0 Reply Likes
Tried that it makes no difference if the "Write Keywords As Lightroom Hierarchy" is checked or un-checked the same thing happens
Photo of Rob Cole

Rob Cole

  • 4831 Posts
  • 382 Reply Likes
|> i export the photo from "temp" to its final storage destination in the cat.

Why not move it instead of exporting it? or is that what you meant by "export"??

Perhaps provide step-by-step instructions for replicating problem so others may try to reproduce...
Photo of John R. Ellis

John R. Ellis, Champion

  • 3734 Posts
  • 977 Reply Likes
Here's what's happening. When you export with the option Add To This Catalog, that's the same as exporting to a file and then importing the file. Your keywords are defined as:

- Flora has Include On Export unchecked.
- Flora > Plants has Include On Export and Export Synonyms checked.
- Flora > Plants has a synonym Plantea.

When you export a file containing the Flora > Plants keyword, with the option Write Keywords As Lightroom Hierarchy selected, the exported file's metadata contains the keyword Plant and the keyword Plantea because you've selected Export Synonyms. (Industry standards don't have a notion of keyword synonyms, so synonyms get exported as keywords.) When LR imports that exported file into the catalog, it sees in the file's metadata the keyword Plant, with no parent, so it creates a top-level keyword of that name in the catalog. Ditto for Plantea.

If you do this:

- In Flora, check the option Include On Export.
- In Plants, check the option Export Containing Keywords.
- Select the export option Write Keywords As Lightroom Hierarchy

then when you export the file, its metadata will contain the keyword "Flora > Plants", not Plants. When LR imports that file, it will assign it the keyword Flora > Plants (and not create a top-level keyword Plants).

The synonym Plantea, however, still gets imported as a top-level keyword, because when you tell LR to export synonyms, it never includes the parent of the synonym in the file.

But this does beg the question that Rob raised: Are you sure you want to export into the catalog? If you're converting a raw file into a JPEG and keeping the raw file in the catalog, then perhaps you should just use LR to move the file into the desired folder and not create a JPEG at all until you need it. If you're converting a raw file into a JPEG and discarding the raw file, then exporting into the catalog is the right thing to do. Or is there another reason you're exporting into the catalog?
Photo of jw stephenson

jw stephenson

  • 34 Posts
  • 3 Reply Likes
Rob/John - if Hugh is exporting in order to discard the RAW files, then to protect the structure couldn't a post-process action be created that retrieves the hierarchy from the RAW file, then replaces the keywords (if any) in the temporary rendered file with the full hierarchy keywords? I know it involves obtaining the LRKeyword array using photo:getRawMetadata(keywords) tag, then iterating upward with keyword.getparent() function until the topmost parent keywords are found but I think a post process action does allow manipulation of the keywords before being added back to the catalog.

Probably more effort than it is worth, but what do you think?
Photo of John R. Ellis

John R. Ellis, Champion

  • 3734 Posts
  • 976 Reply Likes
I don't have any experience implementing post-process actions, but it sounds reasonable a plugin could do that.
Photo of Rob Cole

Rob Cole

  • 4831 Posts
  • 382 Reply Likes
Hi Jeff,

I think its doable, although it may be easier to use JB's Syncomatic plugin - export without keywords, then sync.

?
Photo of Hugh McKean

Hugh McKean

  • 4 Posts
  • 0 Reply Likes
All
Thanks for your help / comments, after thinking it through the problem seems to have happened after installing Lightroom 3.5 at the end of September.

I have played about with my keywording structure and seem to have found a solution

Orig structure was (Example)
Main header :- BUUILDINDS - STRUCTURES (tag options all unchecked)
Sub header :-CONSTRUCTION MATERIAL (tag options only “export containing keywords” unchecked)
Sub Sub header :-WALL`S (tag options only “export containing keywords” unchecked)
Keyword :- Cement (All with tag option “only export containing keywords” unchecked)
Concrete
Plaster
Reinforced concrete
Sandstone
Stone
Stone wall
Stone walls
Have now changed to
Main Header, Sub & Sub – Sub Headers [They have no photographs tagged against them] (“Include on export only” checked)
Keywords (All with tag option “only export containing keywords” unchecked)

Ref work flow all imports are RAW, I used the Export command because this is what I saw on some video or tutorial some years ago, Moving them is much simpler thanks it just shows how we tend to go with what we know.
However if Exporting them as Tiff`s or jpeg`s gave me the same problem as orig. submitted, but the new way has cured that.

As the keywording catalogue has been growing like a demented weed over the last few years I have decided to grasp the nettle and Prune and clean up the whole thing (Testing as I go along).

The above may not be the best solution but it seems to work or am I just crazy

Keep on smiling

Hugh McKean
Photo of John R. Ellis

John R. Ellis, Champion

  • 3734 Posts
  • 977 Reply Likes
Hugh wrote, "after thinking it through the problem seems to have happened after installing Lightroom 3.5 at the end of September. "

LR 3.5 did indeed change this behavior. Previously, if you had exported an image with Write Keywords As Lightroom Hierarchy enabled, all of a keyword's ancestors would be exported, even if they had Include On Export disabled. Now, only those ancestors that have Include On Export enabled will be exported.

The new behavior is more consistent, in my opinion, but it clearly is going to trip up people like you who were relying on the old behavior.
Photo of jw stephenson

jw stephenson

  • 34 Posts
  • 3 Reply Likes
John,

Like Hugh, thanks for confirming that this was a 3.5 version. It too has tripped me up for a couple of special exports/re-imports where I used to be able to keep the hierarchy intact.

Should Hugh or I start a feature request or do you think reporting is as it is reported here enough to get Adobe to consider making this change an optional feature instead of mandatory?

Jeff
Photo of John R. Ellis

John R. Ellis, Champion

  • 3734 Posts
  • 977 Reply Likes
Perhaps a new feature request crisply summarizing what you want is more likely to get Adobe's notice.
Photo of Hugh McKean

Hugh McKean

  • 4 Posts
  • 0 Reply Likes
Thanks John
Thought it was me or my computer having a glitch will now sort out my keywording

Keep on smiling

Hugh McKean