Blocks Deprecated
Deprecated: use the web blocks for new pages This block belongs to state pages and UI components. Existing pages keep running, but new pages should use the web blocks. See Web Pages and the migration guide.

image from file

This block is part of the state ui group and was last modified in core v13.0.6.

image from file v13.0.1 Updated v13.0.6

A img element from a internal or public file.

In pins 4
  • file file required

    Image to be shown, images starting with /public will just be linked.

  • class uiclass

    Assigns a CSS class to the element. • Hidden when unused

  • style uistyle

    Applies inline CSS style to the element • Hidden when unused

  • attributes uiattributes

    Adds custom attributes to the element. • Hidden when unused

Out pins 1
  • state state

    Returns the element to the frontend state.

img

A typical wiring for image from file: get file from assets feeds the file pin; the state out pin feeds get component child.

Studio canvas example for the image from file block: typical wiring for image from file.

Version history

Introduced in v13.0.1.

Last modified in v13.0.6.


Back to state ui Return to the main group to view all sub-groups Back to state elements Return to the group to view all blocks within this group