forked from blueimp/jQuery-File-Upload
-
Notifications
You must be signed in to change notification settings - Fork 0
JSON Response
stepk edited this page Dec 18, 2013
·
3 revisions
The newer response is documented here: http:/blueimp/jQuery-File-Upload/wiki/Setup#using-jquery-file-upload-ui-version-with-a-custom-server-side-upload-handler
The following used to be the response from the server for the file upload plugin
{
files:
[
{
url: "http://url.to/file/or/page",
thumbnail_url: "http://url.to/thumnail.jpg ",
name: "thumb2.jpg",
type: "image/jpeg",
size: 46353,
delete_url: "http://url.to/delete /file/",
delete_type: "DELETE"
}
]
}
This json can be used to show the images during the initial loading of the plugin to show list of images.