bs_img | R Documentation |
Learn more at https://getbootstrap.com/docs/5.1/content/images/.
bs_img(img_attr = c(src = "...", alt = "...", class = "img"), center = FALSE)
img_attr |
A named list or named vector, names are attribute names and values are attribute values. Passed to the attr parameter of html5::img. |
center |
TRUE/FALSE, if TRUE, wraps img tag in a div with class "text-center". |
A string of HTML.
bs_img( img_attr = c( "src" = "...", "alt" = "...", "class" = "img" ) )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.