DEMOS / File Upload

The #upload{} element allows a user to upload one or more files into a scratch directory.

The element fires events when the upload starts and when the upload completes, and passes back original filename, the name of the file on disk, and the node to which the file was uploaded.

View Module Source

Upload Example #1

Upload example with modified button text. The default text is 'Upload'.


    Upload Example #2

    This example hides the upload button. When the user selects a file it will automatically start uploading.


      Upload Example #3

      This example is enabled for multiple file uploads and has modified all the button texts.


        Upload Example #4

        This example is drag and drop enabled for browsers that support it (Chrome, Firefox).

        Drop Files Here

          Upload Example #5

          This example is drag and drop enabled for browsers that support it (Chrome, Firefox). Further it's enabled for multiple files, but does not show an overall progress bar

          Drop Files Here
            Copyright © 2008-2024 Nitrogen Web Framework. Released under the MIT License.