Back to Website
Show / Hide Table of Contents

Interface IAssetSources.IAssetSourceConfig

A structure defining the source type of the Image Manager.

Package: @aurigma/design-editor-iframe
Examples
{
 "assetSources": {
   "My files": {
     "type": "PrivateSource",
     "actionMode": {
       "pdf": "Shape",
       "svg": "Clipart"
     }
   }
 }
}

Properties

actionMode

Defines how the Image Manager should import SVG, PDF, and PSD graphics. The default value is "Vector".

Declaration
actionMode?: IActionMode;
Property Value
Type Description
IActionMode

Defines how the Image Manager should import SVG, PDF, and PSD graphics. The default value is "Vector".

crossOriginMode

If this parameter is not set or its value is "on", then the fetching of the image is performed using crossOrigin = "anonymous". If "off", images are requested without the crossOrigin attribute. The default value is "on".

Declaration
crossOriginMode?: CrossOriginMode.CrossOriginModeType;
Property Value
Type Description
CrossOriginModeType

If this parameter is not set or its value is "on", then the fetching of the image is performed using crossOrigin = "anonymous". If "off", images are requested without the crossOrigin attribute. The default value is "on".

type

Specifies a source type, one of `"MemorySource"`, `"RemoteSource"`, `"DepositPhotos"`, `"PublicSource"`, `"PrivateSource"`, or `"SocialNetworkSource"`.

Declaration
type: TType;
Property Value
Type Description
TType

Specifies a source type, one of `"MemorySource"`, `"RemoteSource"`, `"DepositPhotos"`, `"PublicSource"`, `"PrivateSource"`, or `"SocialNetworkSource"`.

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