Home JS special effects html5 special effects jQuery image file batch upload queue code

jQuery image file batch upload queue code

jQuery image file batch upload queue code

jQuery image file batch upload queue code

code segment:

$('#easyContainer').easyUpload({
allowFileTypes: '*.jpg;*.doc;*.pdf', //Allow upload file types, format ';*.doc;*.pdf'
allowFileSize: 100000,//Allow upload file size (KB)
selectText: 'Select file', //Select file button copy
multi: true,//Whether to allow multiple file uploads
multiNum: 5, //The number of files allowed when uploading multiple files
showNote: true,//Whether to display file upload instructions
note: 'Tips: Up to 5 files can be uploaded, and the supported formats are doc, pdf, and jpg', //File upload instructions
showPreview: true,//Whether to display file preview
url: 'api/file/upload',//Upload file address
fileName: 'file',//File filename configuration parameter
formParam: {
token: $.cookie('token_cookie')//You can remove it if you don’t need to verify the token
},//Configuration parameters other than file filename, format: {key1:value1,key2:value2}

Disclaimer

All resources on this site are contributed by netizens or reprinted by major download sites. Please check the integrity of the software yourself! All resources on this site are for learning reference only. Please do not use them for commercial purposes. Otherwise, you will be responsible for all consequences! If there is any infringement, please contact us to delete it. Contact information: admin@php.cn

Related Article

PHP file upload code (supports file batch upload)_PHP tutorial PHP file upload code (supports file batch upload)_PHP tutorial

13 Jul 2016

PHP file upload code (supports batch upload of files). PHP tutorial file upload code (supports file batch upload) This file upload class defaults to uploading single files. We only need to modify $inputname ='files' to your form name and it will be convenient.

jquery batch upload image implementation code_jquery jquery batch upload image implementation code_jquery

16 May 2016

I have never been able to find an example of jquery uploading images on the Internet. Today, due to work needs, I searched for a long time on the Internet and found an incomplete example. I modified it and it is now available, but only for It cannot be used under IE and Firefox because the local uploaded image path cannot be obtained under Firefox. I hope it can be helpful to novices.

PHP image and file batch upload code_PHP tutorial PHP image and file batch upload code_PHP tutorial

13 Jul 2016

PHP image and file batch upload code. PHP image and file batch upload code. Whether it is file or image batch upload, the first thing we do is to make an array variable such as name=userfile[] in HTML. In PHP acceptance, we do for ($_i=0; $

PHP image file upload implementation code PHP image file upload implementation code

06 Jan 2017

Through PHP, files can be uploaded to the server. Some image judgments are added to it. If you do not judge the file type, you can upload files in any format.

PHP simple file and image batch upload program code_PHP tutorial PHP simple file and image batch upload program code_PHP tutorial

13 Jul 2016

PHP simple file and image batch upload program code. The batch upload method is also very simple. We only need to add a name="pictures[]" array to the form, and then use foreach ($_FILES["pictures"]["error"] as $key => $error) to Circular judgment

HTML5 selected special effects code sharing (collection) HTML5 selected special effects code sharing (collection)

01 Mar 2019

In the process of web design, we often use some HTML5 special effects codes. Here are some cool and practical HTML5 special effects codes compiled and shared by php Chinese website. You can feel free to use them in your applications.

PHP+ajax image file asynchronous upload sample code PHP+ajax image file asynchronous upload sample code

25 Jul 2016

PHP+ajax image file asynchronous upload sample code

Input file upload image preview function example code Input file upload image preview function example code

09 Dec 2016

Input file upload image preview function example code

Recommended 3 articles about video fragmentation and reorganization Recommended 3 articles about video fragmentation and reorganization

15 Jun 2017

Applications based on HTML5 are now very widespread. Today we will share with you 20 very gorgeous HTML5/CSS3 application plug-ins. Hope you all like it and share it with your friends. 1. HTML5 video breaking and reorganization special effects. Powerful visual impact. There are many HTML5 video players, but HTML5 video special effects are still rare. This HTML5 video breaking and reorganization special effect is very exciting and gives people a strong visual impact. Click anywhere in the video, and HTML5 will break these areas into pieces. After a while, these broken video fragments will automatically reassemble...

See all articles See all articles

Hot Tools

HTML5 Canvas heart fluttering animation special effects

HTML5 Canvas heart fluttering animation special effects

HTML5 Canvas heart fluttering animation special effect is a generated animation that can be directly opened with a browser to see a heart.

H5 panda bouncing game source code

H5 panda bouncing game source code

HTML5 Mobile Panda is also a crazy game source code. Game description: Press and hold the screen to adjust the strength of the panda spring and jump to the stone pillar. The game ends if you fall into the river.

HTML5 Valentine's Day box animation special effects

HTML5 Valentine's Day box animation special effects

Based on svg, draw animations of opening love box gifts on Valentine's Day, and special effects of love box animation.

H5 3D rolling ball game source code

H5 3D rolling ball game source code

HTML5 cool 3D ball rolling mobile game code download. Game introduction: A colored ball rolls, and the current track of the colored ball is controlled by dragging it with the mouse or the touch screen of the mobile phone. This is a simple and easy-to-operate mobile game source code.

Hot Article

Path Of Exile 2: Weapon Set Points, Explained
15 Dec 2024 Mobile Game Guide
Marvel Rivals: How To Change Your Name
28 Dec 2024 Mobile Game Guide
Luma Island: Farming Guide
23 Dec 2024 Mobile Game Guide