Image Grid

Display images in a grid layout with click-to-enlarge.

images grid media gallery

Image Grid

Shows images inline. Click to enlarge. Click again to shrink. 📷

  1. Add images to src/_data/ig-images.yml.
  2. Use the imageGrid shortcode.

Default

Uses src/_data/ig-images.yml:

Shortcodecopy_all
{% imageGrid %}
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.
Greetings from Marfa, Texas!

Greetings from Marfa, Texas!

Welcome to Marfa!

Welcome to Marfa!

Presidio County Courthouse.

Presidio County Courthouse.

Hotel Paisano at nite, what a beauty.

Hotel Paisano at nite, what a beauty.

Golden range outside of Marfa, TX.

Golden range outside of Marfa, TX.

Cotton candy dipped cone at DQ in Marfa.

Cotton candy dipped cone at DQ in Marfa.

The Get Go, get in, get go, Marfa TX.

The Get Go, get in, get go, Marfa TX.

Stardust Motel sign, Marfa TX.

Stardust Motel sign, Marfa TX.

Tumbleweed gonna tumble.

Tumbleweed gonna tumble.

Hotel Paisano courtyard from our room.

Hotel Paisano courtyard from our room.

The ole silver Marfa water tower.

The ole silver Marfa water tower.

Big sky, Marfa TX.

Big sky, Marfa TX.

❮ ❯

Custom File

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

Custom datacopy_all
{% imageGrid "ig-pets", 2 %}
Texas Ranger Bucky.R.I.P. Nachooooooo!!!
Moonpie the house kitty, we see your poochie poo!Bucky itches his nose.
Texas Ranger Bucky.

Texas Ranger Bucky.

R.I.P. Nachooooooo!!!

R.I.P. Nachooooooo!!!

Moonpie the house kitty, we see your poochie poo!

Moonpie the house kitty, we see your poochie poo!

Bucky itches his nose.

Bucky itches his nose.

❮ ❯