Init Gallery commit.