ImageBrowserProps

image-browser-file-types String

Defines the allowed file extensions.

image-browser-path String

Defines the initial folder that will be displayed in relation to the root.

image-browser-transport-read String | Function

The options or URL for remote-image retrieval.

image-browser-transport-read-content-type String

The content-type HTTP header that is sent to the server. If the content is JSON, use application/json. For more information, refer to the documentation on jQuery.ajax.

image-browser-transport-read-data Object | String | Function

The data that will be sent to the server. For more information, refer to the documentation on jQuery.ajax.

image-browser-transport-read-data-type String

The type of data that is expected by the server to return. For more information, refer to the documentation on jQuery.ajax.

The commonly used values are:

  • json
  • jsonp

image-browser-transport-read-type String

The type of request that will be made (POST, GET, PUT, or DELETE). Defaults to POST. For more information, refer to the documentation on jQuery.ajax.

image-browser-transport-read-url String | Function

The remote URL that will be called when the list of items is fetched.

image-browser-transport-thumbnail-url String | Function

The URL for retrieving the thumbnail version of the image. If image-browser-transport-thumbnail-url is not specified, a default image icon will be displayed. If a function is assigned, the names of the current path and image will be provided.

image-browser-transport-upload-url String

The URL which will handle the upload of the new images. If image-browser-transport-upload-url is not specified, the Upload button will not be displayed. The requirements for this handler are the same as the requirements for the save handler in the Upload.

image-browser-transport-image-url String | Function

The URL that is responsible for serving the original image. If you use a file-name placeholder, you are required to specify it. By default, the placeholder value is URL-encoded—to change this behavior, use a function.

image-browser-transport-destroy String

The options or URL which will handle the deletion of files and directories. If image-browser-transport-destroy is not specified, the Delete button will not be displayed.

image-browser-transport-destroy-content-type String

The content-type HTTP header that is sent to the server. Defaults to application/x-www-form-urlencoded. If the content is JSON, use application/json. For more information, refer to the documentation on jQuery.ajax.

image-browser-transport-destroy-data Object | String | Function

The data that will be sent to the server. For more information, refer to the documentation on jQuery.ajax.

image-browser-transport-destroy-data-type String

The type of data that is expected by the server to return. For more information, refer to the documentation on jQuery.ajax.

The commonly used values are:

  • json
  • jsonp

image-browser-transport-destroy-type String

The type of request that will be made (POST, GET, PUT, or DELETE). Defaults to POST. For more information, refer to the documentation on jQuery.ajax.

image-browser-transport-destroy-url String | Function

The remote URL that will be called when a new record is created.

image-browser-transport-create String

The options or URL which will handle the creation of the directory. If image-browser-transport-create is not specified, the Create new folder button will not be displayed.

image-browser-transport-create-content-type String

The content-type HTTP header that is sent to the server. Defaults to application/x-www-form-urlencoded. If the content is JSON, use application/json. For more information, refer to the documentation on jQuery.ajax.

image-browser-transport-create-data Object | String | Function

The data that will be sent to the server. For more information, refer to the documentation on jQuery.ajax.

image-browser-transport-create-data-type String

The type of data that is expected by the server to return. For more information, refer to the documentation on jQuery.ajax.

The commonly used values are:

  • json
  • jsonp

image-browser-transport-create-type String

The type of request that will be made (POST, GET, PUT, or DELETE). Defaults to POST. For more information, refer to the documentation on jQuery.ajax.

image-browser-transport-create-url String | Function

The remote URL that will be called when a new record is created.

image-browser-schema-model-id String

The name of the field which acts as an identifier.

image-browser-schema-model-fields-name String

The field which contains the name of the image or directory.

image-browser-schema-model-fields-name-field String

The name of the field.

image-browser-schema-model-fields-name-parse Function

Specifies the function which will parse the field value. If image-browser-schema-model-fields-name-parse is not set, the default parsers will be used.

image-browser-schema-model-fields-type String

The field which contains the type of the entry.

The supported values are:

  • f—Specifies a file.
  • d—Specifies a directory.

image-browser-schema-model-fields-type-parse Function

Specifies the function which will parse the field value. If image-browser-schema-model-fields-type-parse is not set, the default parsers will be used.

image-browser-schema-model-fields-type-field String

The name of the field.

image-browser-schema-model-fields-size String

The field which contains the size of the image.

image-browser-schema-model-fields-size-field String

The name of the field.

image-browser-schema-model-fields-size-parse Function

Specifies the function which will parse the field value. If image-browser-schema-model-fields-size-parse is not set, the default parsers will be used.

image-browser-messages-upload-file String

Defines the text for the Upload button.

image-browser-messages-order-by String

Defines the text for Order by label.

image-browser-messages-order-by-name String

Defines the text for Name item of order by drop-down list.

image-browser-messages-order-by-size String

Defines the text for Size item of order by drop-down list.

image-browser-messages-directory-not-found String

Defines the text for the error that occurs when the dialog for not finding a directory is displayed.

image-browser-messages-empty-folder String

Defines the text that is displayed when a folder does not contain items.

image-browser-messages-delete-file String

Defines the text for the that is displayed when a file or directory is deleted.

image-browser-messages-invalid-file-type String

Defines the text for the dialog that is displayed when an invalid file is set for upload.

image-browser-messages-overwrite-file String

Defines the text for the dialog that is displayed when an already existing file is set for upload.

Defines the text for the search-box placeholder.