Overview

The Image Block is used to define a static image for use with other blocks. It supports PNG, JPEG, and JPG formats and allows you to select an image file from your local system.

Inputs

This block does not have any inputs.

Outputs

image
image

The image that was loaded or converted from the input data.

Editor Settings

Image
file

The image file to be used. Click to select an image from your local file system.

Width
number
default:250

The width of the block in pixels.

Hidden
boolean
default:true

Whether the block is hidden in the block menu.

Example: Using a Static Image

  1. Add an Image Block to your flow
  2. In the block’s settings, click to select an image file from your local file system
  3. Connect the image output to another block that accepts image inputs
  4. Run your flow. The selected image will be passed to the connected block.

Error Handling

The Image Block will throw an error if:

  • No image data is provided
  • The file provider is not available
  • The image file cannot be accessed or loaded

Ensure that you have selected a valid image file and have the necessary permissions to access it.

FAQ

See Also