Type key: image. Renders an image from a public URL, with an optional caption. In the editor this is the Image block.
A content block: it can sit at the page root, in a layout row column, or in a question’s supporting content.
Meta fields
Section titled “Meta fields”The meta fields of this node type are listed in the request body of Replace the draft document, under pages › nodes, in the image tab.
Example
Section titled “Example”{ "public_id": "nImg", "sort_order": 1, "type": "image", "meta": { "image_url": "https://cdn.example.com/acme-events/venue.jpg", "image_caption": "<span>The venue in Amsterdam</span>", "image_alignment": "center" }}Defaults and rules
Section titled “Defaults and rules”image_urlmust be a publichttporhttpsURL of up to 1,000 characters. The document holds only the URL: host the file first.- The defaults are
image_alignment: "center"andimage_full_width: true.image_url,image_caption,image_width, andimage_heightdefault tonull. image_widthandimage_heightare positive integers in pixels;nullkeeps the natural size.image_full_width: truestretches the image to the form width.image_captionis inline rich text with at most 2,000 visible characters.