Gallery generation with a single generated file