Media View
Last updated
Last updated
The media view widget displays an image or PDF passed by a function output. You can e.g. use the memory function for reading data from different sources and extracting it.
The widget works with both file paths and buffers (base64-encoded strings) and takes in inputs with a path
or base64
field.
If the type
field is "image/png", the widget will have options to change the image fitting and round the corners. These options are accessible in the Media View Settings ⚙️.
If the type
is "pdf", these options won't be available, but the media view will display all the pdf pages in a scrollable format.