Image Block
An image referenced by an ipfs:// link, with a caption in the text field and an optional display width.

Extends

id
The block's permanent identity inside its document.
inherited
revision
Output only: CID of the last Change that modified this block.
optional · inherited
type
Block type tag, always `Image`.
Imageoptional
text
Caption shown with the image.
optional
annotations
Inline formatting, links and mentions over the caption.
of optional
link
The image file, normally an `ipfs://<cid>` URL.
attributes
Image settings and parent-layout attributes.
optional
childrenType
How this block lays out its children — a children type such as `Unordered` or `Grid`.
optional
columnCount
Number of columns the children occupy when `childrenType` is `Grid`.
optional
width
Display width in pixels.
optional
name
Original file name of the image.
optional

other fields:

An image block shows an image. link is required and is normally an ipfs://<cid> file that the daemon serves at /ipfs/<cid>. text and annotations are the caption. Attributes: width (display width in pixels), name (the original file name), and the parent-layout pair childrenType and columnCount. Listings also use a document's first image block as a fallback cover.

See also

Do you like what you are reading? Subscribe to receive updates.

Unsubscribe anytime