Simple gallery generation working with durrations