Create an image gallery.

pixgallery(
  path,
  caption = NULL,
  dim = "200px",
  gap = "6px",
  shuffle = FALSE,
  type = "grid",
  width = "100%",
  height = "100%",
  elementId = NULL
)

Arguments

path

A character vector of full paths to images.

caption

A character vector of captions for the images (Optional).

dim

Image gallery thumbnail dimension as a string in valid css units.

gap

Gap between thumbnails as a string in valid css units.

shuffle

A logical indicating whether images are randomly shuffled.

type

A character indicating gallery type. "box" or "grid" for now.

width

Width of the widget as a string in valid css units.

height

Height of the widget as a string in valid css units.

elementId

A character denoting parent container ID.