img_link | R Documentation |
Returns vector of html image links to files "file" with text "caption"
if embed = T, then will make img link, and additional arguments may be supplied to image tag (eg height, width)
img_link(file, caption = NULL, embed = F, ...)
file |
vector of (relative) image file paths to link to |
caption |
character vector of captions to add (= ”) |
embed |
logical flag whether to imbed images instead of returning links (=FALSE) |
... |
additional parameters to embed in tag (e.g. height and width) |
character vector of links (<a> tags) or image tags (<img> or <embed) to dump into an html document
Marcin Imielinski
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.