HTML gallery generator.