pixture is an R package designed to create HTML image galleries. The galleries can be standalone, included in an Rmarkdown/Quarto document or incorporated into a Shiny app.
- Create image galleries with multiple layouts: grid, mosaic, masonry, justified, elastic, rhombus, scroll and hexagon
- Create image carousels with touch and drag support
- Lightbox support with captions and navigation
- Customizable captions, borders, gaps, and more
See the project website for more details.
Install from R Universe:
options(repos = c(getOption("repos"), royfrancis = "https://royfrancis.r-universe.dev"))
install.packages('pixture')Install from GitHub:
install.packages(c("htmlwidgets","shiny","remotes"))
remotes::install_github('royfrancis/pixture')This R package is offered free and without warranty of any kind, either expressed or implied. I will not be held liable to you for any damage arising out of the use, modification or inability to use this program. This R package can be used, redistributed and/or modified freely for non-commercial purposes subject to the original source being properly cited. Licensed under GPL-3.
- glider.js by Nick Piscitelli for carousel functionality
- glightbox by Biati Digital for lightbox functionality
- Rhombus and Hexagon gallery layout by Temani Afif
- Images from Pexels
If you have an comments, suggestions, corrections or enchancements, kindly submit an issue on the Github issues page.
2026 • Roy Francis
