[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-8103":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":16,"stars7d":17,"stars30d":18,"stars90d":16,"forks30d":16,"starsTrendScore":19,"compositeScore":20,"rankGlobal":10,"rankLanguage":10,"license":21,"archived":22,"fork":23,"defaultBranch":24,"hasWiki":22,"hasPages":22,"topics":25,"createdAt":10,"pushedAt":10,"updatedAt":26,"readmeContent":27,"aiSummary":28,"trendingCount":16,"starSnapshotCount":16,"syncStatus":19,"lastSyncTime":29,"discoverSource":30},8103,"jQuery-File-Upload","blueimp\u002FjQuery-File-Upload","blueimp","File Upload widget with multiple file selection, drag&drop support, progress bar, validation and preview images, audio and video for jQuery. Supports cross-domain, chunked and resumable file uploads. Works with any server-side platform (Google App Engine, PHP, Python, Ruby on Rails, Java, etc.) that supports standard HTML form file uploads.","https:\u002F\u002Fblueimp.github.io\u002FjQuery-File-Upload\u002F",null,"PHP",30752,7779,1566,49,0,4,7,2,45,"MIT License",true,false,"master",[],"2026-06-12 02:01:49","# jQuery File Upload\n\n## Contents\n\n- [Description](#description)\n- [Demo](#demo)\n- [Features](#features)\n- [Security](#security)\n- [Setup](#setup)\n- [Requirements](#requirements)\n  - [Mandatory requirements](#mandatory-requirements)\n  - [Optional requirements](#optional-requirements)\n  - [Cross-domain requirements](#cross-domain-requirements)\n- [Browsers](#browsers)\n  - [Desktop browsers](#desktop-browsers)\n  - [Mobile browsers](#mobile-browsers)\n  - [Extended browser support information](#extended-browser-support-information)\n- [Testing](#testing)\n- [Support](#support)\n- [License](#license)\n\n## Description\n\n> File Upload widget with multiple file selection, drag&drop support, progress\n> bars, validation and preview images, audio and video for jQuery.  \n> Supports cross-domain, chunked and resumable file uploads and client-side\n> image resizing.  \n> Works with any server-side platform (PHP, Python, Ruby on Rails, Java,\n> Node.js, Go etc.) that supports standard HTML form file uploads.\n\n## Demo\n\n[Demo File Upload](https:\u002F\u002Fblueimp.github.io\u002FjQuery-File-Upload\u002F)\n\n## Features\n\n- **Multiple file upload:**  \n  Allows to select multiple files at once and upload them simultaneously.\n- **Drag & Drop support:**  \n  Allows to upload files by dragging them from your desktop or file manager and\n  dropping them on your browser window.\n- **Upload progress bar:**  \n  Shows a progress bar indicating the upload progress for individual files and\n  for all uploads combined.\n- **Cancelable uploads:**  \n  Individual file uploads can be canceled to stop the upload progress.\n- **Resumable uploads:**  \n  Aborted uploads can be resumed with browsers supporting the Blob API.\n- **Chunked uploads:**  \n  Large files can be uploaded in smaller chunks with browsers supporting the\n  Blob API.\n- **Client-side image resizing:**  \n  Images can be automatically resized on client-side with browsers supporting\n  the required JS APIs.\n- **Preview images, audio and video:**  \n  A preview of image, audio and video files can be displayed before uploading\n  with browsers supporting the required APIs.\n- **No browser plugins (e.g. Adobe Flash) required:**  \n  The implementation is based on open standards like HTML5 and JavaScript and\n  requires no additional browser plugins.\n- **Graceful fallback for legacy browsers:**  \n  Uploads files via XMLHttpRequests if supported and uses iframes as fallback\n  for legacy browsers.\n- **HTML file upload form fallback:**  \n  Allows progressive enhancement by using a standard HTML file upload form as\n  widget element.\n- **Cross-site file uploads:**  \n  Supports uploading files to a different domain with cross-site XMLHttpRequests\n  or iframe redirects.\n- **Multiple plugin instances:**  \n  Allows to use multiple plugin instances on the same webpage.\n- **Customizable and extensible:**  \n  Provides an API to set individual options and define callback methods for\n  various upload events.\n- **Multipart and file contents stream uploads:**  \n  Files can be uploaded as standard \"multipart\u002Fform-data\" or file contents\n  stream (HTTP PUT file upload).\n- **Compatible with any server-side application platform:**  \n  Works with any server-side platform (PHP, Python, Ruby on Rails, Java,\n  Node.js, Go etc.) that supports standard HTML form file uploads.\n\n## Security\n\n⚠️ Please read the [VULNERABILITIES](VULNERABILITIES.md) document for a list of\nfixed vulnerabilities\n\nPlease also read the [SECURITY](SECURITY.md) document for instructions on how to\nsecurely configure your Web server for file uploads.\n\n## Setup\n\njQuery File Upload can be installed via [NPM](https:\u002F\u002Fwww.npmjs.com\u002F):\n\n```sh\nnpm install blueimp-file-upload\n```\n\nThis allows you to include [jquery.fileupload.js](js\u002Fjquery.fileupload.js) and\nits extensions via `node_modules`, e.g:\n\n```html\n\u003Cscript src=\"node_modules\u002Fblueimp-file-upload\u002Fjs\u002Fjquery.fileupload.js\">\u003C\u002Fscript>\n```\n\nThe widget can then be initialized on a file upload form the following way:\n\n```js\n$('#fileupload').fileupload();\n```\n\nFor further information, please refer to the following guides:\n\n- [Main documentation page](https:\u002F\u002Fgithub.com\u002Fblueimp\u002FjQuery-File-Upload\u002Fwiki)\n- [List of all available Options](https:\u002F\u002Fgithub.com\u002Fblueimp\u002FjQuery-File-Upload\u002Fwiki\u002FOptions)\n- [The plugin API](https:\u002F\u002Fgithub.com\u002Fblueimp\u002FjQuery-File-Upload\u002Fwiki\u002FAPI)\n- [How to setup the plugin on your website](https:\u002F\u002Fgithub.com\u002Fblueimp\u002FjQuery-File-Upload\u002Fwiki\u002FSetup)\n- [How to use only the basic plugin.](https:\u002F\u002Fgithub.com\u002Fblueimp\u002FjQuery-File-Upload\u002Fwiki\u002FBasic-plugin)\n\n## Requirements\n\n### Mandatory requirements\n\n- [jQuery](https:\u002F\u002Fjquery.com\u002F) v1.7+\n- [jQuery UI widget factory](https:\u002F\u002Fapi.jqueryui.com\u002FjQuery.widget\u002F) v1.9+\n  (included): Required for the basic File Upload plugin, but very lightweight\n  without any other dependencies from the jQuery UI suite.\n- [jQuery Iframe Transport plugin](https:\u002F\u002Fgithub.com\u002Fblueimp\u002FjQuery-File-Upload\u002Fblob\u002Fmaster\u002Fjs\u002Fjquery.iframe-transport.js)\n  (included): Required for\n  [browsers without XHR file upload support](https:\u002F\u002Fgithub.com\u002Fblueimp\u002FjQuery-File-Upload\u002Fwiki\u002FBrowser-support).\n\n### Optional requirements\n\n- [JavaScript Templates engine](https:\u002F\u002Fgithub.com\u002Fblueimp\u002FJavaScript-Templates)\n  v3+: Used to render the selected and uploaded files.\n- [JavaScript Load Image library](https:\u002F\u002Fgithub.com\u002Fblueimp\u002FJavaScript-Load-Image)\n  v2+: Required for the image previews and resizing functionality.\n- [JavaScript Canvas to Blob polyfill](https:\u002F\u002Fgithub.com\u002Fblueimp\u002FJavaScript-Canvas-to-Blob)\n  v3+:Required for the resizing functionality.\n- [blueimp Gallery](https:\u002F\u002Fgithub.com\u002Fblueimp\u002FGallery) v2+: Used to display the\n  uploaded images in a lightbox.\n- [Bootstrap](https:\u002F\u002Fgetbootstrap.com\u002F) v3+: Used for the demo design.\n- [Glyphicons](https:\u002F\u002Fglyphicons.com\u002F) Icon set used by Bootstrap.\n\n### Cross-domain requirements\n\n[Cross-domain File Uploads](https:\u002F\u002Fgithub.com\u002Fblueimp\u002FjQuery-File-Upload\u002Fwiki\u002FCross-domain-uploads)\nusing the\n[Iframe Transport plugin](https:\u002F\u002Fgithub.com\u002Fblueimp\u002FjQuery-File-Upload\u002Fblob\u002Fmaster\u002Fjs\u002Fjquery.iframe-transport.js)\nrequire a redirect back to the origin server to retrieve the upload results. The\n[example implementation](https:\u002F\u002Fgithub.com\u002Fblueimp\u002FjQuery-File-Upload\u002Fblob\u002Fmaster\u002Fjs\u002Fmain.js)\nmakes use of\n[result.html](https:\u002F\u002Fgithub.com\u002Fblueimp\u002FjQuery-File-Upload\u002Fblob\u002Fmaster\u002Fcors\u002Fresult.html)\nas a static redirect page for the origin server.\n\nThe repository also includes the\n[jQuery XDomainRequest Transport plugin](https:\u002F\u002Fgithub.com\u002Fblueimp\u002FjQuery-File-Upload\u002Fblob\u002Fmaster\u002Fjs\u002Fcors\u002Fjquery.xdr-transport.js),\nwhich enables limited cross-domain AJAX requests in Microsoft Internet Explorer\n8 and 9 (IE 10 supports cross-domain XHR requests).  \nThe XDomainRequest object allows GET and POST requests only and doesn't support\nfile uploads. It is used on the\n[Demo](https:\u002F\u002Fblueimp.github.io\u002FjQuery-File-Upload\u002F) to delete uploaded files\nfrom the cross-domain demo file upload service.\n\n## Browsers\n\n### Desktop browsers\n\nThe File Upload plugin is regularly tested with the latest browser versions and\nsupports the following minimal versions:\n\n- Google Chrome\n- Apple Safari 4.0+\n- Mozilla Firefox 3.0+\n- Opera 11.0+\n- Microsoft Internet Explorer 6.0+\n\n### Mobile browsers\n\nThe File Upload plugin has been tested with and supports the following mobile\nbrowsers:\n\n- Apple Safari on iOS 6.0+\n- Google Chrome on iOS 6.0+\n- Google Chrome on Android 4.0+\n- Default Browser on Android 2.3+\n- Opera Mobile 12.0+\n\n### Extended browser support information\n\nFor a detailed overview of the features supported by each browser version and\nknown operating system \u002F browser bugs, please have a look at the\n[Extended browser support information](https:\u002F\u002Fgithub.com\u002Fblueimp\u002FjQuery-File-Upload\u002Fwiki\u002FBrowser-support).\n\n## Testing\n\nThe project comes with three sets of tests:\n\n1. Code linting using [ESLint](https:\u002F\u002Feslint.org\u002F).\n2. Unit tests using [Mocha](https:\u002F\u002Fmochajs.org\u002F).\n3. End-to-end tests using [blueimp\u002Fwdio](https:\u002F\u002Fgithub.com\u002Fblueimp\u002Fwdio).\n\nTo run the tests, follow these steps:\n\n1. Start [Docker](https:\u002F\u002Fdocs.docker.com\u002F).\n2. Install development dependencies:\n   ```sh\n   npm install\n   ```\n3. Run the tests:\n   ```sh\n   npm test\n   ```\n\n## Support\n\nThis project is actively maintained, but there is no official support channel.  \nIf you have a question that another developer might help you with, please post\nto\n[Stack Overflow](https:\u002F\u002Fstackoverflow.com\u002Fquestions\u002Ftagged\u002Fblueimp+jquery+file-upload)\nand tag your question with `blueimp jquery file upload`.\n\n## License\n\nReleased under the [MIT license](https:\u002F\u002Fopensource.org\u002Flicenses\u002FMIT).\n","jQuery-File-Upload 是一个用于文件上传的 jQuery 插件，支持多文件选择、拖放上传、进度条显示、文件预览等功能。该插件具备跨域、分块及断点续传等高级特性，并且能在客户端对图片进行缩放处理。它基于HTML5和JavaScript技术构建，无需额外浏览器插件即可运行，同时为不支持新特性的旧版浏览器提供了优雅降级方案。适用于需要提供强大而灵活文件上传功能的各种Web应用场合，尤其是那些要求良好用户体验和广泛兼容性的项目。","2026-06-11 03:16:05","top_language"]