file upload via drag and drop

前端 未结 3 1548
死守一世寂寞
死守一世寂寞 2021-01-14 07:33

Ok here is my problem.
I need to be able to have a user drag multiple images from the locate file system onto the flash/flex/html5 app which will then taker the file na

3条回答
  •  花落未央
    2021-01-14 08:13

    Try this http://www.plupload.com/ It include all kinds of uploaded flash,silver light, gear, html 5 and html4.

    As other people mention that drag and drop will not work for all browser. Limitation listed below.

    1. Drag/drop support of files is currently only available in Firefox 3.5+. WebKit/Opera doesn't support this feature yet.
    2. Image resizing is only possible on Firefox 3.5+ and only at a fixed quality. WebKit/Opera doesn't support direct data access to the selected files.
    3. File type filtering is currently not supported by any browser. But we fill the HTML 5 accept attribute so once the support is there it will work.
    4. Multipart upload is only supported in Gecko based browsers. WebKit doesn't support direct access to file data.

    If you are interseted in Applet try this.. http://jumploader.com/ Both control allow you to resize on client ( I know you haven't requested that)

提交回复
热议问题