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.
Dimensions
To maintain the correct dimensions and aspect ratio, we recommend builders
- Instruct 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.
Internal documents
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.
External documents
If your bot generates an external document and the user has uploaded an image with different dimensions, the image may appear different from 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.
--
Got a question? Contact us at support@joseflegal.com.