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`. | Image | optional | |||||||||||||||
| 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 | ||||||||||||||||
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
Files: how images are stored and served.
block/video and block/file: other media blocks.
metadata: icon and cover images.
Blocks: the block model.
Powered by Seed HypermediaOpen App