Advanced: Custom Print multiple images within a form Advanced: Custom Print multiple images within a form

Advanced: Custom Print multiple images within a form

Corey Skelton Corey Skelton

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

Check that the form template within Assignar has multiple images selected. Selecting this will let the form template know it is to expect multiple image uploads.

 

The code for embedding images is different when you want multiple images.
You will need to use a combination of the {for each} code and the image code as per the below:

{foreach from=$idX item=_picture} {$_picture|insert_image:XXX:XXX} {/foreach}

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

E.g., $id4 or $id4.id1 depending on the question type.

 

The “XXX:XXX” is the sizing instruction for each image (Height and Width). We recommend using something like 150:150 to start with and then alter these as required to perfect the sizing values.

Therefore, if the code within my custom print form is:

My custom print template should have this layout:

Once you have completed the rest of your custom print form, hit Save & Close.

Using the print function, all previous form results can now be outputted on the new template.

All new submissions will be automatically on this template.

Add comment

Please sign in to leave a comment.