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/pngorapplication/pdf).File Base64 object: A structured object defining explicit
base64data andtypeproperties.File path object: A structured object containing explicit backend server
pathand filetypekeys.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.


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?