Note: Before following the steps below, you must first link a docx report to an article category.
How to Display an Image on a Docx Report #
You can display multiple images on a docx report. Here are the tag formulas:
Note: This feature only works with instruction steps that have a picture check.
For an image that was sent by an operator on a product check:
- {%UUID}
If an operator gave a remark for an image captured during a product check, you can also display the remark using this tag formula:
- {UUID:remark}
For the {UUID:remark} tag: If there’s a “%” sign at the beginning of the UUID, you should delete it.
Note: All of the UUIDs mentioned on this guide webpage refer to the UUID of the related work instruction step. Click here to learn more about UUIDs.
How to Adjust an Image’s Size #
You can adjust an image’s size using a tag formula. Below, we provided some examples on how to use a tag formula to adjust an image’s width/height/both of them.
To adjust the width & height to 7.5 cm:
- {%UUID@7.5}
To adjust the width to 10 cm and the height to 5 cm:
- {%UUID@10×5}
To adjust (only) the height to 6 cm:
- {%UUID@*x6}
To adjust (only) the width to 6 cm:
- {%UUID@6x*}
The numbers above are just examples. You can type any number that you desire.
Example #
We will use the highlighted instruction step below in our example:
Thus, these are the tags that we included in our docx report:
Image Padding #
Besides adjusting the image size, you can also do image padding for each image in your docx report.
Image padding means adding an extra space between the image and its surrounding items (or from the page’s margins – if there are no other items) within a docx report. Image padding is usually done to adjust the layout of a docx report or to make it more visually appealing.
To do image padding, you’ll need to use a tag formula. Below, we provided some examples on how to use a tag formula to adjust an image’s padding:
The padding will have a 3 cm distance (horizontally and vertically) from other items/the page’s margins:
- {%UUID;3}
The padding will have a 4 cm of horizontal distance and 7 cm of vertical distance from other items/the page’s margins:
- {%UUID;4,7}
The first number represents the horizontal padding, and the second number represents the vertical padding.
Example #
We will use the highlighted instruction step below in our example:
Thus, these are the tags that we included in our docx report: