creation of a gallery directory