Generator Script for BlueImp Gallery for an image folder