Skip to content

Image Content Schema Properties

A non-interactive element that displays an image or video within the survey.

Element type: image Key properties: 6

  • Aliases: display image, media block, static image, video.
  • Use when: showing media that does not collect an answer.
  • Recommended properties: type, name, imageLink, imageFit, altText.
{ "type": "image", "name": "logo", "imageLink": "https://example.com/logo.png", "altText": "Company logo" }

  • Type: file
  • Default:
  • Localizable: Yes

Specifies an image or video URL.

  • Type: string
  • Default: "contain"
  • Allowed values: none, contain, cover, fill

Specifies how to resize the image or video to fit it into its container.

  • Type: string
  • Default: "150"

Specifies the height of a container for the image or video. Accepts positive numbers and CSS values.

  • Type: string
  • Default: "200"

Specifies the width of a container for the image or video. Accepts positive numbers and CSS values.

  • Type: string
  • Default: "auto"
  • Allowed values: auto, image, video, youtube

Specifies the type of content that the Image question displays.

  • Type: string
  • Default:
  • Localizable: Yes

Specifies a value for the alt attribute of the underlying element.

This page lists only properties that are specific to this element type or especially important for generation.

  • Use Shared Question Properties for common fields such as name, title, description, isRequired, requiredIf, visibleIf, enableIf, readOnly, defaultValue, validators, width, and layout options.