Show:

Properties

data

Object

The data object sent to the server.


Default: { saveOnServer: 0, - use integer as boolean value. 0=false, 1=true uploadsDir: './uploads', - if saveOnServer is 1, you need to specify the directory path where the images are saved uploadsDirURL: 'http://yourdomain.com/uploads' - if saveOnServer is 1, you need to specify the directory URL where the images are saved }

dataType

String

The type of data that you're expecting back from the server.


Default: 'json'

method

String

The HTTP method to use for the request.


Default: 'POST'

url

String

The URL to the custom-image-handler.php


Default: 'php/custom-image-handler.php'