Translations:Manual:$wgGalleryOptions/6/en

See the "default value" below for the possible keys, and a description of each setting.