Images Sizing in Templates

Images Sizing in Templates

To add an image, 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.

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

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.

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.

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|400x100}}

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.

    • Related Articles

    • Sizing images to fit a device screen dimension

      If you can precisely measure the width of your screen or know the screen's exact dimension in pixels, you can calculate the pixels needed to mirror the physical size of the screen on a printed-out copy of the image. Here's how: Determine the width or ...
    • Word Templates

      Our platform allows you to export Data in the layouts you want using Microsoft Word templates or Excel. If you already have Word documents that you have been printing out to use as data capture Forms, you can reuse them as data templates with a few ...
    • Excel Templates

      Our platform allows you to export Data in the layouts you want using Microsoft Excel templates. If you already have Excel documents that you have been printing out to use as data capture Forms, you can reuse them as data templates with a few minor ...
    • Built-In Templates

      Our platform offers a few built-in templates that can be used when exporting form-captured data in PDF. Even though you can fully customize your outputs using Word or Excel files, the following new and improved built-in templates may come in handy ...
    • Custom Templates FAQs

      Can I use Word/Excel 2003? No. We support .DOCX and .XLSX files only which means that Office 2003 formats (.doc and .xls) are not supported. Note that we also do not support Word .dotx files and .xlsm (these are special Word/Excel file types.) Can I ...