knitr::opts_chunk$set(echo = TRUE)
library(bs4cards) locate_thumbnail <- function(x) { system.file("extdata", "thumbnail", paste0(x, ".jpg"), package = "bs4cards") } locate_gallery <- function(x) { paste0("https://art.djnavarro.net/gallery/", x) } galleries
galleries %>% cards( title = long_name, text = blurb, image = image_url, layout = "inset-top" )
galleries %>% cards( title = long_name, text = blurb, image = image_url, layout = "inset-bottom" )
galleries %>% cards( title = long_name, image = image_url, layout = "inset-top", breakpoint = 3 )
galleries %>% cards( title = long_name, image = image_url, layout = "inset-bottom", breakpoint = 3 )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.