2021.2

Table Of Contents
l Format: The image format can be PNG or JPG.
l Quality: Set the compression in a percentage.
l Scale Image: Check this option to enable image scaling. Then set the maximum width
and height of images before they are sent to the server. Note that only the smallest of
these is applied and the size ratio is always maintained.
Time stamp
A time stamp can be added to each picture taken. Right-click the Camera element after adding
it to the form, select Camera properties, and then check Add Time Stamp.
The time stamp will be added to the bottom left of the picture, with medium font size, and long
date format (for example: 6/15/2009 1:45 PM). These settings can only be changed via the
Source tab or in code; see "Using the COTG plugin" on page608 and the Capture OnTheGo
API: "Camera" on page623.
Note
The Time stamp feature doesn't work in versions of the app prior to 10.6.
How to use the captured or selected image in a template
After a user has submitted the form and the data has been extracted, you may want to display
the captured or selected image in a Designer template, for example in a letter or on a web
page. To do this:
1. Load the data mapping configuration (or at least the data model).
2. Insert a dummy image in the template.
3. Right-click the dummy image and select Dynamic Image. The Text Script Wizard
appears.
4. Under Field select the field that contains the base64-encoded string. The script puts the
given string in the source (src) attribute of the image (<img>).
Instead of using the Text Script Wizard, you could also write a script yourself; see "Writing your
own scripts" on page877.
Page 592