Image Lightbox

Full-screen image lightbox with navigation controls.

images lightbox media gallery

Image Lightbox

Creates a full-screen lightbox. 📸

  1. Add images to src/_data/lb-images.yml.
  2. Use the lightbox shortcode.

Default

Uses src/_data/lb-images.yml:

Shortcodecopy_all
{% lightbox %}
A little bit of France in Texas - Paris, Texas.Apple strikes again.Porky makes some goooooood BBQ!A Texas Bluebonnet.Texas Ranger Bucky.Little red camero, you need a love that's gonna last.Turning, turning, turning...and turning.
R.I.P. Nachooooooo!!!Christmas at Campo Verde.Fry that bird, fry that bird, fry that bird!Mustang GT at the Gasquatch.Devils Tower, Wyoming.A winter tree in Dallas.Moonpie the house kitty, we see your poochie poo!
Mount Rushmore National Monument, South Dakota.Dairy Palace, Canton Texas.Big sky over Texas.I see you!Guadalupe Mountains National Park, Texas.My all time favorite painting.Justa good ole Texas evening.
Bucky itches his nose.Momma I wanna go fast.Bucky needs a nap.Broken Bow river, Oklahoma.Sky Vue Drive-in, Lamesa Texas.Fall foliage in Broken Bow.Big face Bucky goes for a ride.
×

Custom File

Create a file in src/_data/ with an lb- prefix:

Custom datacopy_all
{% lightbox "lb-marfa" %}
Greetings from Marfa, Texas!Welcome to Marfa!Presidio County Courthouse.
Hotel Paisano at nite, what a beauty.Golden range outside of Marfa, TX.Cotton candy dipped cone at DQ in Marfa.
The Get Go, get in, get go, Marfa TX.Stardust Motel sign, Marfa TX.Tumbleweed gonna tumble.
Hotel Paisano courtyard from our room.The ole silver Marfa water tower.Big sky, Marfa TX.
×