View source: R/utils-gallery.R
| print_lightbox_img_html | R Documentation |
Generates HTML code for lightbox image gallery functionality that loads images from zip files using zip.js.
print_lightbox_img_html(zip_path, image_filenames = NULL, verbose = TRUE)
zip_path |
Path to the zip file containing images (can be absolute or relative) |
image_filenames |
Vector of image filenames within the zip |
verbose |
Logical. Whether to print verbose output (default TRUE). |
A character string containing HTML code for the lightbox gallery
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.