set_image | R Documentation |
Set image content
set_image(name, value, base64 = FALSE, caption = NULL, ...)
name |
The name of the field. Must be unique within a unit. |
value |
The filename of the image. Can be given as a single filename, the name of a column in data (for create_units) that has filenames, or an expression. |
base64 |
If TRUE, store the image as a base64 in the codingjob json file |
caption |
The image caption. Can be a single string, or a column in data (for create_units), or an expression. |
... |
Style settings, passed to |
Only meant to be used inside of create_units
or
create_unit
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.