This question is not answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 3 - Pages: 1 - Last Post: 31 Oct 25, 12:06 Last Post By: JeffTucker
BRBremen

Posts: 98
Registered: 16-Nov-2012
Hide part of a photo's caption
Posted: 30 Oct 25, 23:30
 
  Click to reply to this thread Reply
Hello everyone,

The captions in my gallery for my photos contain the following:
Train data:
${xmp.xmp:Label} ${comment}

"xmp:xmp:Label" contains a number that I've added to the image. However, I've noticed that due to color coding in Lightroom, words like "Green, Yellow, Blue, Red, Purple" also appear unintentionally. This problem occurs with many, but not all, photos. Is there a way to automatically hide the aforementioned colors using some kind of code when they appear in the caption?

Here's an example of how it should normally look:

45673 HBI - HBKE

Sometimes, however, it looks like this:

Green 45673 HBI - HBKE

The "green" should be removed using code.

Unfortunately, this information is embedded so deeply in the EXIF ​​data that it cannot be directly deleted in jALBUM.

Edited by: BRBremen on 30 Oct 2025, 23:35
Laza

Posts: 1,510
Registered: 6-Sep-2005
Re: Hide part of a photo's caption
Posted: 31 Oct 25, 09:26   in response to: BRBremen in response to: BRBremen
 
  Click to reply to this thread Reply
I must admit, this is much harder to handle in jAlbum than at the source of the problem. Would you like to filter out common words from the caption, such as "blue" or "red"?
BRBremen

Posts: 98
Registered: 16-Nov-2012
Re: Hide part of a photo's caption
Posted: 31 Oct 25, 11:08   in response to: Laza in response to: Laza
 
  Click to reply to this thread Reply
Yes, exactly, usually it's "green" and "yellow" that occur most frequently.
JeffTucker

Posts: 8,334
Registered: 31-Jan-2006
Re: Hide part of a photo's caption
Posted: 31 Oct 25, 12:06   in response to: Laza in response to: Laza
 
  Click to reply to this thread Reply
Laza wrote:
I must admit, this is much harder to handle in jAlbum than at the source of the problem.

Exactly. I don't know LR, but can't you get it to stop writing the "colors" to that xmp field? Even better, get it to write the information you do want to xmp.dc:title[1], which jAlbum uses by default.
Legend
Forum admins
Helpful Answer
Correct Answer

Point your RSS reader here for a feed of the latest messages in all forums