How can I get Gmail-like file uploads for my web app?

前端 未结 10 1403
清歌不尽
清歌不尽 2020-12-04 16:09

I want to add gmail-like file upload functionality for one of my projects. Can anybody help me with this?

My application is built in vb.net.

I would apprecia

相关标签:
10条回答
  • 2020-12-04 16:55

    Here is the gmail uploader clone. This is the exact clone of gmail uploader with some extra facilities. You can see the thumbnails of images after uploading, Drag the thumbnails to change the order and replace any thumbnail. It is done using jQuery. You can see the demo here. The source code is free to download in a single zip file.

    I hope you can easily remove some code and get the desired thing. You may leave comments on the ABCoder blog if you need further help.

    0 讨论(0)
  • 2020-12-04 16:57

    From YUI! (Yahoo User Interface), https://yuilibrary.com/yui/docs/uploader/

    1. Multiple file selection in a single "Open File" dialog.
    2. File extension filters to facilitate the user's selection.
    3. Progress tracking for file uploads.
    4. A range of file metadata: filename, size, date created, date modified, and author.
    5. A set of events dispatched on various aspects of the file upload process: file selection, upload progress, upload completion, etc.
    6. Inclusion of additional data in the file upload POST request.
    7. Faster file upload on broadband connections due to the modified SEND buffer size.
    8. Same-page server response upon completion of the file upload.

    Totally Free

    0 讨论(0)
  • 2020-12-04 16:59

    You may use Flickr Uploader clone instead.

    0 讨论(0)
  • 2020-12-04 16:59

    Are you talking about an upload without a full page postback? Take a look at http://www.phpletter.com/Demo/AjaxFileUpload-Demo/, which creates a hidden iframe, copies the input control, and uses the iframe to perform the post to get the file on the server.

    If you're looking for the behavior where when the user clicks "attach file" and the file browsing dialog automatically pops up, that can be done via Javascript but doesn't work in FireFox, which has the security precaution of requiring the user to invoke the "Browse" button directly (rather than programmatically through script).

    For the "automatic" upload, use Javascript to attach to the "change" event for the "value" property of the the 'input' control so that the will perform when a file has been selected.

    0 讨论(0)
提交回复
热议问题