photools.com Community

IMatch Discussion Boards => General Discussion and Questions => Topic started by: mopperle on April 01, 2023, 11:50:15 AM

Title: Variable/Attributes shown in the Thumbnail layout
Post by: mopperle on April 01, 2023, 11:50:15 AM
I want to display certain values in the thumbnail layout and now struggling with the usable variables in custom templates. Example:
When choosing the attribute "Exposure Program" from the dropdownlist I get eg the value "Shutter speed priority AF".
But when I want to get this in a custom template and use one of the variables {File.MD.exposureprogram} or {File.MD.Exif::Main\34850\ExposureProgram\0} I only get back a number, eg. "4" instead of "Shutter speed priority AF"
What am I doing wrong?
Title: Re: Variable/Attributes shown in the Thumbnail layout
Post by: sinus on April 01, 2023, 12:09:30 PM
I think, you have to use formatted stuff like
|value:formatted

Means, you must add this at the end of a variable, like

{File.MD.Exif::Main\34850\ExposureProgram\0|value:formatted}

You can read this and much more interesting stuff in the help:

https://www.photools.com/help/imatch/var_basics.htm

and there e.g. go to the section "Metadata Variables: Formatted and Raw"

Title: Re: Variable/Attributes shown in the Thumbnail layout
Post by: mopperle on April 01, 2023, 12:36:27 PM
Thanks, exactly that's it. Quite easy, if you know what to search for in the help system.