When using the file upload feature to insert images into generated documents, images are automatically resized to ensure they fit neatly in line with the surrounding text, table, etc.
To maintain the correct dimensions and aspect ratio, we recommend
- Instructing users to upload images with the dimensions of 2.2cm (H) x 2.75 (W).
- In pixels terms, that equates to 830px (H) x 1040px (W).
- Hint: We recommend communicating this via message text or hints.
Tip: If your bot generates an internal document and the user has uploaded an image with different dimensions, you can manually resize the image after the document has been downloaded to a more suited shape and size.
Tip: If your bot generates an external document and the user has uploaded an image with different dimensions, the image may appear different to its original state. For this reason, we recommend communicating the dimension requirements to the user within the bot. Alternatively, switching the document to an internal document that can be amended prior to being distributed to the user.