9,334
edits
Line 41: | Line 41: | ||
* '''Format string''' – If you use a non-string field as a source for the image (e.g. a lookup field), the string should look like folder_name{0}.png. {0} represents the target name (name of the lookup record, according to which the image is used. | * '''Format string''' – If you use a non-string field as a source for the image (e.g. a lookup field), the string should look like folder_name{0}.png. {0} represents the target name (name of the lookup record, according to which the image is used. | ||
* '''Border radius''' – configure corner radius (just like [https://www.w3schools.com/css/css3_borders.asp CSS rounded corners]) | * '''Border radius''' – configure corner radius (just like [https://www.w3schools.com/css/css3_borders.asp CSS rounded corners]) | ||
* {{Anchor|ImageQuery}} ''' | * {{Anchor|ImageQuery}} '''Image query''' – For dynamic images, you can define the query for image location. | ||
** As '''Image Data''', select the entity and field that contains your image (often, <code>Note.Document</code> or <code>{CurrentEntity}.Entity Image</code>). | ** As '''Image Data''', select the entity and field that contains your image (often, <code>Note.Document</code> or <code>{CurrentEntity}.Entity Image</code>). | ||
** As '''Conditions''', add how to locate the correct image. The left side shows the fields on the entity selected as Image Data, on the right side you can either write a constant value, use a field of the current entity (in curly brackets), or use <code>{currentUserId}</code> to refer to the current app user. | ** As '''Conditions''', add how to locate the correct image. The left side shows the fields on the entity selected as Image Data, on the right side you can either write a constant value, use a field of the current entity (in curly brackets), or use <code>{currentUserId}</code> to refer to the current app user. |