Style editor: Difference between revisions

Jump to navigation Jump to search
→‎Image cells: add "Image fit"
(→‎Image cells: add "Image fit")
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])
* '''Image fit''' – configure how the image should fit into its container (just like [https://www.w3schools.com/css/css3_object-fit.asp CSS object-fit])
* {{Anchor|ImageQuery}} '''Image query''' – For dynamic images, you can define the query for image location.
* {{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>).

Navigation menu