image_block | R Documentation |
A simple image block, designed to make those cat photos really pop.
image_block(image_url, alt_text, title = NULL, id = NULL)
image_url |
character, The URL of the image to be displayed. |
alt_text |
character, A plain-text summary of the image. This should not contain any markup. |
title |
character, an optional title for the image. Default: NULL |
id |
character, unique identifier for a block. Default: NULL |
Available in surfaces: Modals, Messages, Home tabs
block_divider class
Other layout:
actions_block()
,
as.blocks()
,
context_block()
,
divider_block()
,
file_block()
,
input_block()
,
section_block()
,
wrap_blocks()
image_block( image_url = 'http://placekitten.com/500/500', alt_text = 'An incredibly cute kitten.', title = 'Please enjoy this photo of a kitten', id = 'image4' )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.