A single-file photogallery script.