Skip to content

Generate HTML for a 4-wide bootstrap thumbnail

Usage

thumbnail(title, img, href, caption = TRUE, source = NULL, ncol = 3)

Arguments

title

Used as title for the link tooltip and as caption is caption = TRUE.

img

link to the image to use in the thumbnail.

href

link to use when the image is clicked.

caption

if FALSE, only the image will be shown without a caption below.

source

link to a source repository. if caption = TRUE, will be added as a clickable link of the form (Source)

ncol

Number of column for the grid : 3 (default) or 2.