Back to Website
Show / Hide Table of Contents

Interface IAssetSources.IGallerySourceConfig.ICategory

A structure restricting folders in the public gallery.

Package: @aurigma/design-editor-iframe
Examples

This example illustrates how you can display images from the following folders:

  • /PublicGalleryFolder/logos/photos/

  • /PublicGalleryFolder/logos/photos/buildings/ and subfolders

  • /PublicGalleryFolder/logos/shapes/ and subfolders

{
	"assetSources": {
		"Public Gallery": {
			"type": "PublicSource",
			"allowedExtensions": [ "gif", "jpg", "svg", "pdf" ],
			"rootCategory": {
				"name": "logos",
				"categories": [
					{
						"name": "photos",
						"categories": [
							{
								"name": "buildings"
							}
						]
					},
					{
						"name":  "shapes"
					}
				]
			}
		}
	}
}

Properties

categories

An array of subfolders to be displayed.

Declaration
categories?: ICategory[];
Property Value
Type Description
ICategory[]

An array of subfolders to be displayed.

name

The name of a folder to be displayed.

Declaration
name: string;
Property Value
Type Description
string

The name of a folder to be displayed.

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