Images: Difference between revisions

Jump to navigation Jump to search
19 bytes added ,  19 March 2020
Line 165: Line 165:
=== Automatic image processing ===
=== Automatic image processing ===


In some scenarios, you need to ingest large number images from various sources, and you would like to perform some image normalization automatically, for example, decrease image dimensions or crop image to a certain aspect ratio. This option is available for images added using the '''Add Media''' button or using the photo or plus button on a related list. In the following example, we add a new media tab and write an On Load rule that performs the normalization.
In some scenarios, you need to ingest large number images from various sources, and you would like to perform some image normalization automatically, for example, decrease image dimensions or crop image to a certain aspect ratio. This option is available for images added using the '''[[Form#Add_media|Add Media]]''' button or using the photo or plus button on a related list. In the following example, we add a new media tab and write an On Load rule that performs the normalization.
# Edit an [[app projects|app project]], then select an entity from the '''Project''' menu, for example, Contact.
# Edit an [[app projects|app project]], then select an entity from the '''Project''' menu, for example, Contact.
# Click '''Add Media''' to add a new tab to your form, then click '''OK'''. <br>[[File:Configure media tab.png]]
# Click '''Add Media''' to add a new tab to your form, then click '''OK'''. <br>[[File:Configure media tab.png]]

Navigation menu