A single-file photo gallery script.