Image

Static image in the form, such as a logo or diagram.

Widget description: image

The widget displays an image from a URL, such as a logo, diagram, or photo from an item field. You can build the URL from field values (https://domain/photos/[Id].jpg) so each item shows its own image. It is a virtual widget and is not saved to the item. It has nothing to do with the SharePoint Image field type, which uploads an image.

Image widget settings: URL or template and alignment

Adding to the form

On the Widgets tab, select Image and drag it into a section (or click “+”). A new widget has the URL https:// and screen-reader text “Image”, so replace it first.

Inspector settings

OptionPropertyDescriptionDefault
Image URL or templateimageConfig.urlTemplateImage address, optionally with placeholders [Field], {Field}, @Me, @Today.empty
Image alignmentimageConfig.alignmentleft (Left), center (Center), right (Right).center
On clickimageConfig.clickActionnone (None – not clickable), lightbox (fullscreen enlarged <img> preview with close button and Esc), newTab (New tab).none
Fill section heightimageConfig.fillHeightImage fills the remaining height of its section while preserving aspect ratio (object-fit: contain; any maxHeight is ignored). Pairs with section Fill row height (Layout).no
Custom labelcustomLabelFallback text when altText is not set, and name used in error messages.“Image”
Width in section, VisiblecolSpan, defaultVisibleCommon options shared by all widgets.12, yes

Additional schema properties are not exposed in the inspector; configure them in the raw JSON editor:

PropertyDescriptionDefault
imageConfig.altTextAlternative text for screen readers. Also displayed as a caption below the image. Placeholders are not evaluated in it.empty
imageConfig.maxWidthMaximum width: a number (pixels) or a string such as "50%".100% width
imageConfig.maxHeightMaximum height: a number (pixels) or a string.unlimited
imageConfig.openInNewTabOnClickDeprecated (superseded by clickAction). On load, true automatically migrates to clickAction: "newTab".—

Runtime behavior

Text translations

You can translate customLabel and imageAltText (overrides altText). See Translations and Multilingual Forms.

Rules and scripts

Configuration example (JSON)

{
  "internalName": "widget_image_foto",
  "customLabel": "Employee photo",
  "fieldType": "image",
  "colSpan": 4,
  "defaultVisible": true,
  "imageConfig": {
    "urlTemplate": "https://intranet.company.com/photos/[Id].jpg",
    "altText": "Employee photo",
    "maxHeight": 160,
    "alignment": "left",
    "clickAction": "lightbox"
  }
}
Form with an image loaded from an item field (top) and an error frame for an invalid URL (bottom)

Limitations and tips