- Introduction
- What's New?
- Features
- Getting Started
- Integration with E-commerce
- Integration with Remote Asset Sources
- Printable Files and Proof Images
- Configuring Products
- Creating Product Templates
- User Interface
- Configuration Files
- API
- Introduction to IFrame API
- IFrame API Reference
- BaseEditor Module
- Configuration Module
- Ui Module
- AssetSelectWidgetType Enumeration
- IActionModeParsed Interface
- IAssetManagerConfig Module
- IAssetSources Module
- IAutoZoomConfigParsed Interface
- IBarcodeDialogConfigParsed Interface
- IBottomToolbarConfigParsed Interface
- IColorPickerConfigParsed Interface
- ICommonConfigParsed Interface
- IFinishButtonConfigParsed Interface
- IFitTextRectangleSettings Interface
- IGalleryDialogConfigParsed Interface
- IImageEditorDialogConfigParsed Interface
- IItemMenuConfigParsed Interface
- ILeftToolbarConfigParsed Interface
- IObjectInspectorConfigParsed Interface
- IPerSurfaceConfiguration Interface
- IRangeParamsParsed Interface
- IRichComboValuesConfigParsed Interface
- IRichTextDialogConfigParsed Interface
- IShowHintSettingsParsed Interface
- IShowInputSettings Interface
- ISocialNetworkAppIdsParsed Interface
- ISurfaceSwitchConfigParsed Interface
- ITabDescriptorParsed Interface
- ITextOutlineParsed Interface
- ITextShadowParamParsed Interface
- IToolboxConfigParsed Module
- ITopToolbarConfigParsed Interface
- IWidgetConfigsForSurface Interface
- IWidgetsConfig Interface
- IZoomConfigParsed Interface
- IZOrderConfigParsed Interface
- Ui Module
- Configuration Module
- IframeApi Module
- BaseEditor Module
- Web API
- Old Query-string API
- Visual Proofing Tool
- Variable Data Printing
- System Requirements
- Troubleshooting
- Licensing
- Copyright Notices
IGalleryDialogConfigParsed Interface
Applies to: Customer's Canvas On-Premises; Design Editor 4.4.25, 4.x (may differ) · Archived documentation
A structure defining settings of the Image Gallery. For details, refer to the Using the Image Gallery topic.
Properties
Optional allowedExtensions
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
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
Enables the Color Picker when selecting a background. The default value is false.
Optional defaultTab
Outdated, use the defaultTabName property instead. The default tab opened in Gallery; it can have one of the following values: "user", "public", "background", "facebook", "instagram". The default value is "user".
Optional defaultTabName
The default tab opened in Gallery; it should be one of ITabDescriptorParsed.name.
Optional downloadPsdAsImage
Allows for merging PSD files with design elements placed on the canvas. If false, then PSD layers of the uploading templates, all but the background and foreground layers, are embedded into the canvas. By default, this value is true, and Customer's Canvas embeds PSD templates as a raster image.
Optional insertToAllButtonEnabled
Allows for changing backgrounds of all product surfaces at once. The default value is false.
Optional overwriteExistingFiles
Allows for overwriting images with existing names in the Gallery. The default value is false.
Optional publicFolderName
Outdated, use the tabs array instead. Sets a subfolder of the ~\PublicGalleryFolder\ folder containing graphics files displayed in the Public files tab in the Gallery. By default, the entire ~\PublicGalleryFolder\ folder content is displayed.
Optional publicTabEnabled
Outdated, use the tabs array instead. Enables the Public files tab in the Gallery. The default value is true.
Optional saveAllowedTabAfterInsert
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
Enables an ability to upload photos and select private photos even if the
<IASF>
marker is used. The default value is false.
Optional tabs
The array of tabs available in the Image Gallery. If you define the tabs array, then the outdated properties are ignored.
Optional userTabEnabled
Outdated, use the tabs array instead. Enables the My files tab in the Gallery. The default value is true.
Optional socialNetworkAppIds
Outdated, use appKey of the tabs array instead. The Instagram and/or Facebook identifiers for your application. For details, see the Integration with Facebook and Instagram topic.