IGalleryDialogConfig

A structure defining settings of the Gallery dialog.

Properties

Optional allowedExtensions

allowedExtensions: string []

Extensions of files that a user is allowed to upload to the Gallery. The default value is ["jpeg", "gif", "png", "jpg", "bmp"].

Optional defaultTab

The default tab opened in Gallery; it can have one of the following values: "user", "public", "facebook", "instagram". The default value is "user".

Optional overwriteExistingFiles

overwriteExistingFiles: boolean

Allows for for overwriting images with existing names in the Gallery. The default value is false.

Optional publicFolderName

publicFolderName: string

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

publicTabEnabled: boolean

Enables the Public files tab in the Gallery. The default value is true.

Optional showTabsInRestrictedMode

showTabsInRestrictedMode: boolean

Enables an ability to upload photos and select private photos even if the <IAPSF> marker is used. The default value is false.

Optional socialNetworkAppIds

socialNetworkAppIds: ISocialNetworkAppIds

Instagram and/or Facebook identificators for your application. See the Integration with Facebook and Instagram topic.

Optional userTabEnabled

userTabEnabled: boolean

Enables the My files tab in the Gallery. The default value is true.