pigallery2 icon indicating copy to clipboard operation
pigallery2 copied to clipboard

Showing both short and long captions in the sidebar

Open nk9 opened this issue 7 months ago • 7 comments

Is your feature request related to a problem? Please describe.

I have used digiKam to add both titles and captions to a bunch of photos. The digiKam UI looks like this:

image

And according to https://jimpl.com/, it produces EXIF output like this:

Field Value
Title Baby Olga
UserComment Age 6 months
Caption Baby Olga
Caption-Abstract Age 6 months

Initially, neither of these fields were visible in pG2. Then I turned on "Caption first naming", and now I can see the "UserComment" or "Caption-Abstract" string as an overlay in the UI:

image

But the "Title"/"Caption" is still missing. And to be honest, the "title" is what I'd probably expect to see as an overlay, with the longer caption visible in the metadata sidebar if a user opens it. The IPTC spec says that, despite the misleading suffix "-Abstract," this is the "Description" field. So it's where I'd expect to see longer text associated with the image, vs the short, pithy "Title."

Describe the solution you'd like

I would expect both the "title" and the "caption" (as named by digiKam, whichever non-duplicative fields these map to) to be visible in the metadata sidebar. This seems pretty obvious to me, to the point that I would argue that the current behavior could be considered broken. Even if one of the two caption fields is available in that potentially hard-to-read and definitely-not-selectable overlay, I'd still expect both to be visible and selectable in the sidebar. (If a photo doesn't have any of these fields, then I wouldn't expect them to show in the sidebar.)

Here's more info on how IPTC expects these fields to be used. It turns out what I'm imagining is actually the Headline field, not the Title. However, this seems to be a very longstanding issue with digiKam, and arguably other DAMs. So perhaps the spec will never be properly implemented. I have tried to get DK to write its "Title" to the suggested Xmp.photoshop.Headline field, but it's not working so… 🤷

I would point out that my preferred behavior would neatly solve the issue raised in #524.

Describe other solutions you've considered

I suppose it would be possible to add some kind of setting or template structure to let users modify the metadata sidebar. But that strikes me as more trouble than its worth. The data is there; pG2 should be showing it.

Test image

https://drive.google.com/file/d/10Y33gSFUX8qcefeMRK5ebbYpW_hqmxli/view?usp=sharing

nk9 avatar Nov 13 '23 23:11 nk9