uploadImagesModal
Function used to upload media using filepicker.
Example Usage
$.fn.uploadImagesModal({
tabs: ['COMPUTER'],
onSuccess: function (data, textStatus, jqXHR) {
// handle response
},
beforeSend: function (jqXHR, settings) {
},
onComplete: function (jqXHR, textStatus) {
}
});
Parameters
Parameter | type | Required | Description |
---|---|---|---|
tabs | string | no | Required tabs. e.g. COMPUTER |
Example Response
{url: 'media-url', filename: 'media-name', type: 'media-type', size: 'media-size', mediaType: "image"}
Updated almost 5 years ago