support choosing gallery style when create/update gallery