img_panel_local | R Documentation |
Cast a vector of URLs pointing to local images as an image panel source
img_panel_local(x)
x |
a vector of URLs pointing to images |
x
must be paths relative to the path
argument passed to trelliscope
.
## Not run:
# assuming images are available locally in relative path pokemon_local/images
pokemon$img <- img_panel_local(paste0("images/", basename(pokemon$url_image)))
trelliscope(pokemon, name = "pokemon", path = "pokemon_local")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.