jQuery PHP image batch upload code
js code
<script type="text/javascript" src="js/bootstrap.min.js"></script>
<script type="text/javascript" src="webuploader-0.1.5/webuploader.js"></script>
<script type="text/javascript">
window.webuploader = {
config:{
thumbWidth: 220, //Thumbnail width, can be omitted, default is 110
thumbHeight: 220, //Thumbnail height, can be omitted, default is 110
wrapId: 'uploader', //Required
},
//When processing the client's new file upload, the address that needs to be called for background processing is required
uploadUrl: 'fileupload.php',
//The background processing address when processing the client's original file update, required
updateUrl: 'fileupdate.php',
//The background processing address when the client's original file is deleted, required
removeUrl: 'filedel.php',
//Initialize the client to upload files and obtain the file address from the background. Optional. When this parameter is empty, the uploaded file will be empty by default
initUrl: 'fileinit.php',
}
</script>
<script src="webuploader-0.1.5/extend-webuploader.js" type="text/javascript"></script>
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
11 Jul 2016
PHP simulates post upload image implementation code. PHP simulates post upload image implementation code. The example in this article shares the specific code of PHP simulates post upload image for your reference. The specific content is as follows. Both the server and the client are php.
24 Jun 2016
CSS3 JQUERY page scrolling effects code
24 Jun 2016
58 jQuery simulated CSS3 transition page switching effects
06 Jul 2016
jquery waterfall flow LightBox picture box special effects
03 Dec 2024
jQuery $(document).ready and UpdatePanels: A Refined LookWhen utilizing jQuery to apply mouseover effects to elements within an UpdatePanel, the...
13 Nov 2024
jQuery: Dynamically Modifying Text with Mouseover EventsWhen interacting with elements on a web page, adding subtle effects can enhance user...
22 Oct 2024
To replicate hover effects on touch-enabled devices, this article proposes a technique using a combination of CSS and JavaScript. It demonstrates how to add hover effects to elements on touchstart and touchend events using jQuery, and how to style th
24 Jun 2016
CSS3 input box shadow effects and other shadow effects
Hot Tools
jQuery2019 Valentine's Day Confession Fireworks Animation Special Effects
A very popular jQuery Valentine's Day confession fireworks animation special effect on Douyin, suitable for programmers and technical geeks to express their love to the girl they love. No matter you choose to be willing or not, you have to agree in the end.
layui responsive animated login interface template
layui responsive animated login interface template
520 Valentine's Day confession web animation special effects
jQuery Valentine's Day Confession Animation, 520 Confession Background Animation
Cool system login page
Cool system login page
HTML5 tape music player-CASSETTE PLAYER
HTML5 tape music player-CASSETTE PLAYER