makeThumbs | R Documentation |
Makes HTML code to be used in a quarto document that will produce a thumbnail of images that can then be clicked on to view as a lightbox. Names of files with images may be given in imgs
(and must be in path
) or if imgs
is NULL
then all files in path
will be used to make the carousel.
makeThumbs(id, path, ncol = 6, imgs = NULL, caps = NULL, rev = FALSE)
id |
Name for the thumbnail gallery. |
path |
A relative path to the folder with the images. If |
ncol |
A numeric that indicates the number of columns to be used for the thumbnails. Defaults to 6. Use a bigger number to make smaller thumbnails. |
imgs |
A vector of file names with the images to form the thumbnails. See details. |
caps |
A vector of captions for each image in the thumbnails. If |
rev |
A logical for whether the given order of |
NONE YET
None, used for side effect of writing HTML code that produces thumbnails of images.
Derek H. Ogle
## None yet.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.