Advanced: Custom Print - Signatures and images within forms.

Adam Klug
Adam Klug
  • Updated

If your custom print template is a word document, the below steps will assist you with embedding images into your custom print template. 

To embed images into your word document template, use the following code:

{$idX|insert_image:300:100}

The $idX will be the unique code of your image/signature question.
Eg. $id4

The numbers you see at the end of the code, reflect the height and width of your image.

If your custom print template is an excel sheet, the below steps will assist you with embedding images into your custom print template. 

The first thing you will need to do is embed an image in your document as a placeholder for where you want the final image to go.  The size that you make this image placeholder will be the size that the final image will be.  It is important to note that you must use a placeholder with the same file format (JPG or PNG) as the final image.

If you do not have an image placeholder to use, we have built an image generator that you can use.  Here is an example of the image placeholder you can use.


Also, the type parameter (possible values: png or jpeg) controls the type of the image.  Go ahead and change those parameters to create a customized image.

The next step is to setup the variable placeholder for your image.  You can put this placeholder anywhere in your document – it is simply used to map the image URL to the image element in your document.  For the most part, it’s the same format as other variables, but we will add a little more info. Below is an example variable placeholder for the image:

{$idX|image:1:png}

In the above example, the variable name is “MyImage”, then the “|” indicates options after.  Each image in a DOCX is stored using a numerical identifier, so the “1” in the image indicates that identifier.  Determining the image number may take some trial and error if you are using images in header or footers – the numbering scheme seems to be inconsistent in that case.  The “png” in the placeholder represents the image type (possible values: png, jpg, or jpeg).

Once you have that in place, you’re all set!

Was this article helpful?

0 out of 2 found this helpful