For the complete documentation index, see llms.txt. This page is also available as Markdown.

Media view

The media view widget displays images and PDF documents. It visualizes raw Base64 strings, media server paths, file objects, or public URLs in your Apps.

Data binding

Function output or modifier to widget

Property

Description

Type

data

Supplies the media content used to render images or documents on the widget canvas. Automatically unpacks single-item arrays.

string | array | object

clear

Clears the currently displayed media item from the view layout when a signal is received.

boolean

Data formats

The data property handles multiple flexible input payload types to streamline integration with your backends.

  • Base64 string: A raw Base64-encoded string character block. The widget automatically resolves standard MIME categories (such as image/png or application/pdf).

  • File Base64 object: A structured object defining explicit base64 data and type properties.

  • File path object: A structured object containing explicit backend server path and file type keys.

  • Media server path: A direct text string locator path addressing a storage asset hosted directly on the platform media cluster.

  • URL: A standard fully qualified public internet web link to an external image or file target.

A function node with an image connected to the media view widget. The extension node retrieves the content of the output array.
Binding a file item extracted from the media server file system directly into memory works without extra modifiers.

Configuration

Set the widget's defaults in the settings panel.

General settings

Property

Label

Description

Type

objectFit

Image fitting

Controls how the media stretches or scales to match its layout container boundaries (options include Contain, Cover, or Fill).

string

borderRadius

Rounded corners %

Applies a border radius frame curvature to the media canvas outer edges as a percentage of the smaller layout dimension.

integer

Last updated

Was this helpful?