Back to Website
Show / Hide Table of Contents

Interface IAssetSources.IGallerySourceConfig

A structure defining properties of the user gallery and public gallery.

Inheritance
IAssetSourceConfig<"PublicSource" | "PrivateSource">
IAssetSources.IGallerySourceConfig
Package: @aurigma/design-editor-iframe
Examples
{
  "assetSources": {
    "My files": {
      "type": "PrivateSource",
      "allowedExtensions": [ "jpg", "jpeg", "png" ]
    }
  }
}

Properties

allowedExtensions

An array of image types that the user is allowed for uploading. The complete list of supported extentions is ["jpg", "jpeg", "png", "bmp", "gif", "tiff", "svg", "pdf", "ai", "psd"].

Declaration
allowedExtensions: string[];
Property Value
Type Description
string[]

An array of image types that the user is allowed for uploading. The complete list of supported extentions is ["jpg", "jpeg", "png", "bmp", "gif", "tiff", "svg", "pdf", "ai", "psd"].

rootCategory

Allows you to specify a folder from which your users can select images in the PublicSource. You can also specify allowed subfolders of this folder.

Declaration
rootCategory?: IGallerySourceConfig.ICategory;
Property Value
Type Description
ICategory

Allows you to specify a folder from which your users can select images in the PublicSource. You can also specify allowed subfolders of this folder.

Was this page helpful?
Thanks for your feedback!
Back to top Copyright © 2001–2025 Aurigma, Inc. All rights reserved.
Loading...
    Thank for your vote
    Your opinion is important to us. To provide details, send feedback.
    Send feedback