To add a picture/image from your form into your Word or Excel outputs, all you need to do is add the placeholder for the image field.  However the system will size the image automatically and usually this is not what you desire.  Her’s how to work around it.

To get the best image output and fit for your template, we suggest you try the following approaches:

1. Use a Table to Size Images (Word only)

A recommended option to control the size of your images is to wrap your image placeholder in a Word table cell that has fixed width defined on it’s column.

To define a fixed width on a table column, in Word go to Table | Table Properties, Table tab, click the Options button.

Clear the “Automatically resize to fit contents” check box. Click OK.

Then specify the desired column widths on the Column tab (of the Table Properties dialog box).

You can nest tables inside each other, so wrapping your image placeholder should be easy to do no matter where it is placed.

When the output is rendered, if the immediately surrounding table is of fixed width then it will be used as the bounding area for the image and your image will be resized to fit within the fixed width space.

Note that the relative proportions of the image will be preserved, so you may have an image that is still fairly tall if the image was shot in portrait aspect. To counter this, reduce your bounding table column width as required.

2. Using Columns to Size Images (Excel only)

In Excel, the column that contains your image placeholder will be used as the bounding width for the image.

This means you can easily control the size of your images by either:

Setting an explicit width on the column that holds the {{ }} placeholder,

OR

By merging the placeholder’s cell with other cells to form a larger width.

This is useful when other parts of your template share the same column.

We recommend the second approach – i.e. merging cells to gain the desired width – since it means less issues if you want to change the layout of other items above or below the image.

3. Specifying Image Dimensions

You can specify the exact height and width in pixels for image answers that will be inserted into your template.

You do so by adding “|WIDTHxHEIGHT” to the end of your placeholder.

For example: {{person_photo|400×100}}

When the system sees this additional formatting information, it automatically resizes the image answer to the specified dimensions.

Note that pixels are converted to Word point sizes, so you will need to try a few settings to get the desired output.