- Introduction
- What's New?
- Features
- Upgrading the Design Editor
- Breaking Changes in 6.0
- 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
- APIs
- IFrame API
- Getting Started with IFrame API
- Using the Design Atoms Framework in IFrame API
- Changing the Product Size
- BaseEditor Module
- IframeApi Module
- Commands Module
- Configuration Module
- Editor Class
- applyProductTheme Method
- BarcodeFormat Enumeration
- BarcodeSubType Enumeration
- clearSelection Method
- dispose Method
- finishProductDesign Method
- getProduct Method
- getProofImages Method
- getSelectedItems Method
- getUnchangedItems Method
- IBarcodeData Interface
- IFinishDesignResult Interface
- IProofResult Interface
- ISaveProductResult Interface
- ISurfacesChanges Interface
- ISurfaceUserInfo Interface
- IUnchangedItem Interface
- IUnchangedItems Interface
- IUserChangeItem Interface
- IUserChanges Interface
- IUserInfo Interface
- IValidationResult Interface
- IViolationWarningData Interface
- loadUserInfo Method
- openGallery Method
- openGalleryForBackground Method
- openGalleryForItem Method
- redo Method
- revertProduct Method
- saveProduct Method
- selectAllItems Method
- selectItems Method
- subscribe Method
- undo Method
- validateUserInfo Method
- ViolationState Enumeration
- ZoomMode Enumeration
- loadEditor Function
- ObjectModel Module
- PostMessage Module
- preload Function
- RuntimeConfiguration Class
- Web API
- Design Atoms Framework
- UI Framework
- Dynamic Image API
- IFrame API
- Add-ons
- System Requirements
- Troubleshooting
- Migrating Your Applications
- Licensing
- Copyright Notices
You’re viewing outdated documentation. View the latest Customer’s Canvas On-Premises documentation.
openGallery Method
Applies to: Customer's Canvas On-Premises; Design Editor 6.15.0, 6.x (may differ) · Archived documentation
Callable
-
Opens the Asset Manager with the listed asset tabs to add a new image to the design.
Parameters
-
Optional params: object
Parameters defining the appearance of the Asset Manager.
-
Optional tabs: string []
An array of tabs available for selecting the assets.
-
-
Optional action: "layout" | "fillPlaceholders"
An action that should be applied to the product, either
"layout"to change layouts or"fillPlaceholders"to automatically fill out image placeholders. By default, the Action Manager opens to add an image to the design.
Returns Promise < void >
-