photools.com Community

IMatch Discussion Boards => General Discussion and Questions => Topic started by: Darius1968 on February 07, 2020, 10:29:54 AM

Title: Layouts (Tags Vs. Custom Template)
Post by: Darius1968 on February 07, 2020, 10:29:54 AM
So, with respect to Thumbnail Layouts: 

In the 1st case, I have "Footer 1 left" set to display a Tag (Shutter Speed, Composite\Exif::ShutterSpeed\ShutterSpeed\0.  All works fine! 

In the 2nd case, I have "Footer 1 left" set to display a "Custom Template" ({File.MD.Composite\ShutterSpeed\ShutterSpeed\0} at).  Here, nothing at all displays for the metadata tag.  "at" is displayed as expected.  How do I get the metadata to display? 
Title: Re: Layouts (Tags Vs. Custom Template)
Post by: sinus on February 07, 2020, 11:02:18 AM
Quote from: Darius1968 on February 07, 2020, 10:29:54 AM
So, with respect to Thumbnail Layouts: 

In the 1st case, I have "Footer 1 left" set to display a Tag (Shutter Speed, Composite\Exif::ShutterSpeed\ShutterSpeed\0.  All works fine! 

In the 2nd case, I have "Footer 1 left" set to display a "Custom Template" ({File.MD.Composite\ShutterSpeed\ShutterSpeed\0} at).  Here, nothing at all displays for the metadata tag.  "at" is displayed as expected.  How do I get the metadata to display?

If I replace your variable with
{File.MD.Composite\Exif::ShutterSpeed\ShutterSpeed\0}

from the normal "Tag Selector", than it works fine.
Your variable works not, must be wrong.
Title: Re: Layouts (Tags Vs. Custom Template)
Post by: Darius1968 on February 07, 2020, 12:41:42 PM
Thanks for that, Markus. 
I could have sworn that in the first place, I had simply selected the tag for shutter speed directly from the Tag Selector, but making sure I did the 2nd time around worked!  (And, I can see, the tag I got on the 2nd try was different!)
Okay, so now, I'm trying to figure out how to display the Raw value (which is what I now have & want), but expressed in greater decimal places (0.008, instead of 0.01, for example).  Any clues? 
Title: Re: Layouts (Tags Vs. Custom Template)
Post by: sinus on February 07, 2020, 01:31:34 PM
Hi Darius

Not, sorry, I have no idea, how to achieve this (with 3 numbers behind the point).

The help writes this:

Shutterspeed has a data type of real (a floating point number) so the value returned by IMatch will be 0.01 (rounded from 0.00625) using the numeric format as defined in the Windows Control Panel.


Hence I guess, we cannot see 3 numbers, but of course I do not know.
Title: Re: Layouts (Tags Vs. Custom Template)
Post by: Darius1968 on February 07, 2020, 02:04:30 PM
Well, what you've quoted here, I've already read, but thanks for your input and for trying.   :)
Title: Re: Layouts (Tags Vs. Custom Template)
Post by: Darius1968 on February 07, 2020, 02:32:06 PM
Markus, I just found a solution to the problem, on that same page: 

Quote{File.MD.Composite\ShutterSpeed\ShutterSpeed\0|numformat:float,1,5}
(1/320s)
Title: Re: Layouts (Tags Vs. Custom Template)
Post by: Mario on February 07, 2020, 03:30:47 PM
Quote from: Darius1968 on February 07, 2020, 02:32:06 PM
Markus, I just found a solution to the problem, on that same page: 

Quote{File.MD.Composite\ShutterSpeed\ShutterSpeed\0|numformat:float,1,5}
(1/320s)

IMatch is so awesome...!
Title: Re: Layouts (Tags Vs. Custom Template)
Post by: sinus on February 07, 2020, 03:39:49 PM
Quote from: Darius1968 on February 07, 2020, 02:32:06 PM
Markus, I just found a solution to the problem, on that same page: 

Quote{File.MD.Composite\ShutterSpeed\ShutterSpeed\0|numformat:float,1,5}
(1/320s)

Thanks, Darius, cool!
Have a good weekend!
Title: Re: Layouts (Tags Vs. Custom Template)
Post by: Darius1968 on February 07, 2020, 04:55:44 PM
Quote from: Mario on February 07, 2020, 03:30:47 PM
IMatch is so awesome...!

Yeah, it is!

Quote from: sinus on February 07, 2020, 03:39:49 PM
Thanks, Darius, cool!
Have a good weekend!

You're welcome.  You too! 
Title: Re: Layouts (Tags Vs. Custom Template)
Post by: ColinIM on February 07, 2020, 09:36:30 PM
Quote from: Mario on February 07, 2020, 03:30:47 PM
IMatch is so awesome...!

;D 8)   Agreed! ...

... and so is this Forum  ;D