TrophyCustomer's Canvas is honored with a 2020 InterTech Technology Award! Learn more 

IImagePermissionsConfig Interface

A structure defining the image permissions.

The following example shows how you can disallow for editing and selecting other images after adding an image to the canvas.

    "defaultItemsConfig": {
        "image": {
            "imagePermissions": {
                "allowChangeImage": false,
                "allowEditImage": false


Optional allowChangeImage

allowChangeImage: boolean

Allows your users to change images. This property enables the Select image command in menus. Also, if it is false, your users cannot change images by double-clicking. The default value is true.

Optional allowEditImage

allowEditImage: boolean

Allows your users to open the Image Editor. This property enables the Edit image command. The default value is true.