View source: R/block_elements.R
image_element | R Documentation |
An element to insert an image as part of a larger block of content. If you want a block with only an image in it, you're looking for the image block. Works with block types: Section Context
image_element(image_url, alt_text)
image_url |
The URL of the image to be displayed. |
alt_text |
A plain-text summary of the image. This should not contain any markup. |
https://api.slack.com/reference/block-kit/block-elements#image
Other Elements:
button_element()
,
channels_multi_select_menu()
,
channels_select_menu()
,
checkbox_element()
,
conversations_multi_select_menu()
,
conversations_select_menu()
,
datepicker_element()
,
external_multi_select_menu()
,
external_select_menu()
,
overflow_menu_element()
,
plain_text_input_element()
,
radio_button_group_element()
,
static_multi_select_menu()
,
static_select_menu()
,
timepicker_element()
,
users_multi_select_menu()
,
users_select_menu()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.