Image
3 min
the image element embeds a visual asset directly within a form it can display any image from a web url, a base64 encoded data string, or a file reference β making it suitable for static branding assets, dynamic previews of uploaded content, process generated visual outputs, or any scenario where a picture communicates what text cannot the element is fully configurable you can set the display size (width, height), control the aspect ratio, add accessibility alt text, and even make the image a clickable link (linkurl / linkurltarget) since src is part of the data model in procesio forms, the image source can be swapped at runtime β for example, showing a user's profile picture loaded from a process, or rendering a dynamic chart image returned by an api key use cases β’ displaying a company logo or branding at the top of a form β’ showing a preview of a file uploaded in the same form (src set from value of file upload) β’ rendering a dynamic chart, map, or qr code returned by a process action β’ making an image a clickable link to a related document or external resource β’ displaying a product image when a user selects a product in a dropdown runtime api β attributes in procesio forms all attributes below are accessible and modifiable at runtime via the element's data model in procesio forms api name description type default notes label optional label text displayed with the image string β β tooltip help text shown alongside the image string β β visible controls element visibility boolean true β src image source β url, base64 string, or file reference string|file β updatable at runtime alt accessible alternative text for the image string β β title title text shown on hover string β β width display width of the image string auto px, %, etc height display height of the image string auto px, %, etc aspectratio controls the image's aspect ratio string auto e g auto, 16/9 linkurl makes the image a clickable link string β β linkurltarget where the link opens string β self, blank, parent, top name unique element name string β β id unique element id string β β for support, please join our https //discord com/invite/cebukgjefv for further assistance and support
