About this article
This article will explain how to adjust the dimensions of images inserted through smart fields so it can be utilized to populate the smart template.
Prerequisites
|
|
How to adjust the dimensions of an image
When setting up smart fields utilizing images, one will be able to adjust the dimensions of images by accessing the options available in the Advanced
section of the smart field:
Inherit Dimensions
When setting up an image binding, utilizing the Inherit Dimensions
dropdown will provide the option to inherit the native width and height of the image.
InheritNone
: nothing is inherited.-
InheritWidth
: the native width of the image is inherited. -
InheritHeight
: the native height of the image is inherited. -
Custom inheritDimensions
: provide a custom expression to inherit dimensions.
Width and height
The fields Width
and Height
allow the user to adjust the size of the inserted images by statically defining the values or by dynamically defining them.
One can refer to a data source if it has a reference for width and height added in a data source by using the binding syntax, or one can type in the dimensions in centimeters, e.g. 3.75 cm. If only the width is defined, the height will be adjusted and set upon creation, and the other way around.
|
Related articles
Comments
Article is closed for comments.