Questions tagged [jquery-file-upload]

jQuery File Upload is a blueimp.net widget with multiple file selection, drag&drop support, progress bar and preview images for jQuery.

jQuery File Upload is a widget with multiple file selection, drag&drop support, progress bars and preview images for jQuery.
It supports cross-domain, chunked and resumable file uploads and client-side image resizing.
It works with any server-side platform (PHP, Python, Ruby on Rails, Java, Node.js, Go etc.) that supports standard HTML form file uploads.

Features

  • Multiple file upload:
    Allows to select multiple files at once and upload them simultaneously.

  • Drag & Drop support:
    Allows to upload files by dragging them from your desktop or filemanager and dropping them on your browser window.

  • Upload progress bar:
    Shows a progress bar indicating the upload progress for individual files and for all uploads combined.

  • Cancelable uploads:
    Individual file uploads can be canceled to stop the upload progress.

  • Resumable uploads:
    Aborted uploads can be resumed with browsers supporting the Blob API.

  • Chunked uploads:
    Large files can be uploaded in smaller chunks with browsers supporting the Blob API.

  • Client-side image resizing:
    Images can be automatically resized on client-side with browsers supporting the required JS APIs.

  • Preview images, audio and video:
    A preview of image, audio and video files can be displayed before uploading with browsers supporting the required APIs.

  • No browser plugins (e.g. Adobe Flash) required:
    The implementation is based on open standards like HTML5 and JavaScript and requires no additional browser plugins.

  • Graceful fallback for legacy browsers:
    Uploads files via XMLHttpRequests if supported and uses iframes as fallback for legacy browsers.

  • HTML file upload form fallback:
    Allows progressive enhancement by using a standard HTML file upload form as widget element.

  • Cross-site file uploads:
    Supports uploading files to a different domain with cross-site XMLHttpRequests or iframe redirects.

  • Multiple plugin instances:
    Allows to use multiple plugin instances on the same webpage.

  • Customizable and extensible:
    Provides an API to set individual options and define callBack methods for various upload events.

  • Multipart and file contents stream uploads:
    Files can be uploaded as standard "multipart/form-data" or file contents stream (HTTP PUT file upload).

  • Compatible with any server-side application platform:
    Works with any server-side platform (PHP, Python, Ruby on Rails, Java, Node.js, Go etc.) that supports standard HTML form file uploads.

Useful links

1310 questions
-3
votes
1 answer

How to get total file size of multiple files upload using jquery

I have a form where users can upload multiple files. But I only want to allow them to do so when the combined size of all files does not exceed 3GB. How can I do this? Here is my current code: var fileCount = 0; var showFileCount = function()…
Test
  • 69
  • 2
  • 7
-3
votes
1 answer

Undefined index error in PHP while uploading file

I have such a form for uploading files and creating new directories:
Pavel Z.
  • 45
  • 1
  • 12
-3
votes
1 answer

Upload files using angularjs without php script

just want to ask if it is possible to upload files (images, docs, pdf, etc.) using angularjs without actually using php script, instead all file uploads will use angularjs or javascript codes?. With this method i will be able to lessen the server…
cocoboy
  • 274
  • 1
  • 3
  • 6
-4
votes
2 answers

Change data-url via jquery

I am trying to use jquery to change the data-url attribute used by a file upload. But it doesn't seems to be working. The file upload takes the old value. $('#fileupload').attr('data-url', "https://api.mysite.com/optimizeonly"); HTML
user2650277
  • 6,289
  • 17
  • 63
  • 132
-5
votes
3 answers

Please help me converting this code to haml

NOTE: I am trying to include the file upload system in my rails project. But I am getting issues with this EJS code. Please help me convert the below code into HAML code.