Page 1 of 1

Trying to use 'Custom Labels' to display the metadata DATE and DESCRIPTION

Posted: Thu Aug 11, 2022 7:42 am
by kbyork
I would like to use 'Custom Labels' to display the metadata DATE and DESCRIPTION of photos.
But of course, this data is not in a single location:

Code: Select all

In SETTINGS > Thumbnail > Labels > Custom Label:
------------ DATE -----------
{EXIF:Date Taken [Y-m-d]}	EXIF Image	Date Taken
				XMP  xmp	CreateDate
				XMP  exif	DateTimeOriginal
{IPTC:Created Date}		IPTC Origin	Created Date

-------- DESCRIPTION --------
{EXIF:Image Description}	EXIF Camera	Image Description
{EXIF:XPTitle}			EXIF Camera	XPTitle
{EXIF:XPSubject}		EXIF Camera	XPSubject
				XMP  dc		title
				XMP  dc		description
{IPTC:Headline}			IPTC Caption	Headline
{IPTC:Caption}			IPTC Caption	Caption
Giving me two problems:
  1. what script variables do I use for:
    • XMP xmp CreateDate
    • XMP exif DateTimeOriginal
    • XMP dc title
    • XMP dc description
  2. Is there an OR command (or similar) I can use to combine these variables.
    (to just return the first non-empty variable)
I am thinking something like: {EXIF:Image Description}||{EXIF:XPTitle}||{EXIF:XPSubject}

Re: Trying to use 'Custom Labels' to display the metadata DATE and DESCRIPTION

Posted: Thu Aug 11, 2022 12:24 pm
by xnview
kbyork wrote: Thu Aug 11, 2022 7:42 am
  • XMP xmp CreateDate
  • XMP exif DateTimeOriginal
  • XMP dc title
  • XMP dc description
XMP:Title, XMP:Description
XMP date not yet supported
[*]Is there an OR command (or similar) I can use to combine these variables.
No :(

Re: Trying to use 'Custom Labels' to display the metadata DATE and DESCRIPTION

Posted: Tue Dec 20, 2022 12:53 pm
by ReefHound
Add my vote for this capability. The xmp:title would be very helpful in the browser as my filenames remain the sequential names assigned by the camera and the title tells me what they are about.