gallery get configuration