Skip to main content

Gallery

Pictures fanned out of their button that fly into a full-screen grid, with enlarging and paging.

This section

Gallery

A round button on the right shows your first three pictures fanned out of it like a hand of cards.

How It Works​

  1. Point at the button — the cards spread and the word "Gallery" rises beside it
  2. Click — the cards fly on arcs into a grid that fits the whole screen, while the background darkens from the button
  3. Click a picture — it grows out of its cell; page through with the arrows or the arrow keys
  4. Close — Escape, the ✕ or a click outside gathers the pictures back into the fan

Configuration​

OptionDefaultDescription
Config.gallery.enabledtrueOff hides the gallery and its button
Config.gallery.images9 samplesThe pictures, in order; the first three form the fan
Config.gallery.dim0.8How dark the screen behind the open gallery gets
lua
Config.gallery = {
images = {
'media/gallery/01.jpg',
'media/gallery/02.jpg',
'https://your-cdn.com/picture.png',
},
}