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

Ask for help and post your question on how to use XnView MP.

Moderators: XnTriq, helmut, xnview

kbyork
Posts: 23
Joined: Sun Mar 30, 2014 7:19 pm

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

Post 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}
User avatar
xnview
Author of XnView
Posts: 40525
Joined: Mon Oct 13, 2003 7:31 am
Location: France

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

Post 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 :(
Pierre.
ReefHound
Posts: 25
Joined: Sat Oct 22, 2022 8:37 pm

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

Post 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.