View source: R/layout_blocks.R
image_block | R Documentation |
A simple image block, designed to make those cat photos really pop. Available in surfaces: Modals Messages Home tabs
image_block(image_url, alt_text, title = NULL, block_id = NULL)
image_url |
The URL of the image to be displayed. Maximum length for this field is 3000 characters. |
alt_text |
A plain-text summary of the image. This should not contain any markup. Maximum length for this field is 2000 characters. |
title |
An optional title for the image in the form of a |
block_id |
A string acting as a unique identifier for a block. If not specified, one will be generated. Maximum length for this field is 255 characters. block_id should be unique for each message and each iteration of a message. If a message is updated, use a new block_id. |
https://api.slack.com/reference/block-kit/blocks#image
Other Blocks:
actions_block()
,
context_block()
,
divider_block()
,
file_block()
,
header_block()
,
input_block()
,
section_block()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.