gallery commit