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
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.openInNewTabOnClickClicking opens the image at full size in a new tab.false

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",
    "openInNewTabOnClick": true
  }
}
Form with an image loaded from an item field (top) and an error frame for an invalid URL (bottom)

Limitations and tips