I just made available a ruby script (and simple layout) to generate photo galleries in Jekyll.

The script is a pre-processor which takes as input a list of directories (containing JPEG or PNG) and populates them with textile files to display the pictures as a gallery.

Grab the sources from Github: https://github.com/avillafiorita/gallery.