---
title: "IGalleryDialogConfigParsed Interface"
canonical: https://customerscanvas.com/docs/cc5/customerscanvas.baseeditor.configuration.ui.igallerydialogconfigparsed.htm
archived: true
applies_to:
  - product: "Customer's Canvas On-Premises"
  - product: "Design Editor"
    versions: ["5.35.9", "5.x (may differ)"]
---

**You’re viewing outdated documentation.** [View the latest Customer’s Canvas On-Premises documentation](https://customerscanvas.com/docs/on-premises/).

# IGalleryDialogConfigParsed Interface

**Applies to:** Customer's Canvas On-Premises; Design Editor 5.35.9, 5.x (may differ) · **Archived documentation**
 
*Obsolete.* A structure defining settings of the Image Gallery. For details, refer to the [Using the Image Gallery](https://customerscanvas.com/docs/cc5/using-image-gallery.htm.md) topic.
  
*The GalleryDialog is not supported since Customer's Canvas 5.16. You can only enable the [Asset Manager](https://customerscanvas.com/docs/cc5/asset-manager.htm.md) to select images.*
 
 - example
     - clientConfig.json
 
```
"GalleryDialog": {
    "defaultTabName": "Public",
    "tabs": [
      {
          "name": "User",
          "type": "user",
          "translationKey": "GalleryDialog.TAB_USER",
          "canEdit": true,
          "canUpload": true
      },
      {
          "name": "Public",
          "type": "public",
          "subFolderName": "Flyers",
          "canEdit": true
      },
      {
          "name": "Facebook",
          "type": "facebook",
          "canEdit": true,
          "appKey": "123456789012345"
      }
    ]
}
```
 
## Properties
 
### Optional allowedExtensions
 
allowedExtensions: string []

The file extensions that a user is allowed to upload to the **Gallery**. This array may contain any combination of `"jpg", "jpeg", "png", "bmp", "gif", "tiff", "svg", "pdf", "ai", "psd"`. The default value is `["jpg", "jpeg", "png", "bmp", "gif", "svg", "pdf"]`.
 
### Optional autoInsertUploadedFile
 
autoInsertUploadedFile: boolean

If `true`, the **Gallery** closes as soon as it uploads a user image. After that, this image is automatically inserted into the placeholder or image layer. The default value is `false`.
 
### Optional backgroundColorPickerEnabled
 
backgroundColorPickerEnabled: boolean

Enables the **Color Picker** when selecting a background. The default value is `false`.
 
### Optional defaultTabName
 
defaultTabName: string

The default tab opened in **Gallery**; it should be one of [ITabDescriptorParsed.name](https://customerscanvas.com/docs/cc5/customerscanvas.baseeditor.configuration.ui.itabdescriptorparsed.htm.md).
 
### Optional insertToAllButtonEnabled
 
insertToAllButtonEnabled: boolean

Allows for changing backgrounds of all product surfaces at once. The default value is `false`.
 
### Optional overwriteExistingFiles
 
overwriteExistingFiles: boolean

Allows for overwriting images with existing names in the **Gallery**. The default value is `false`.
 
### Optional saveAllowedTabAfterInsert
 
saveAllowedTabAfterInsert: boolean

Allows you to restrict the image selection only to the gallery tab from which an image was selected. If `true`, your users cannot open another tab. The default value is `false`.
 
### Optional showTabsInRestrictedMode
 
showTabsInRestrictedMode: boolean

Enables an ability to upload photos and select private photos even if the [`<IASF>`](https://customerscanvas.com/docs/cc5/supported-markers.htm.md) marker is used. The default value is `false`.
 
### Optional tabs
 
tabs: [ITabDescriptorParsed](https://customerscanvas.com/docs/cc5/customerscanvas.baseeditor.configuration.ui.itabdescriptorparsed.htm.md) []

The array of tabs available in the Image Gallery. If you define the tabs array, then the outdated properties are ignored.
