jquery图片上传插件,jquery图片编辑插件
jquery批量上传图片插件uploadify 的例子 可以用的
!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" ""
创新互联是一家专业提供弓长岭企业网站建设,专注与网站制作、成都网站建设、html5、小程序制作等业务。10年已为弓长岭众多企业、政府机构等服务。创新互联专业网站制作公司优惠进行中。
html xmlns=""
meta http-equiv='Content-Type' content='text/html; charset=utf-8' /
titleFile upload /title
link rel="Stylesheet" href="js/Plug-in/jquery.uploadify/uploadify.css" /
script type="text/javascript" src="js/Plug-in/jquery.uploadify/jquery-1.3.2.min.js"/script
script type="text/javascript" src="js/Plug-in/jquery.uploadify/swfobject.js"/script
script type="text/javascript" src="js/Plug-in/jquery.uploadify/jquery.uploadify.v2.1.0.min.js"/script
script type="text/javascript"
$(document).ready(function() {
$("#uploadify").uploadify({
'uploader': 'js/Plug-in/jquery.uploadify/uploadify.swf',
'script': 'uploadify.php',
'cancelImg': 'js/Plug-in/jquery.uploadify/cancel.png',
'folder': 'uploadfile',
'queueID': 'fileQueue',
'auto': false,
'multi': true,
});
});
/script
/head
body
MAX: 20M
/BR
input type="file" name="uploadify" id="uploadify" /
a href="javascript:$('#uploadify').uploadifyUpload()"Upload/a| a href="javascript:$('#uploadify').uploadifyClearQueue()"cancel/a
div id="fileQueue"/div
/body
/html
后台 uploadify.php
?php
/*
Uploadify v2.1.0
Release Date: August 24, 2009
Copyright (c) 2009 Ronnie Garcia, Travis Nickels
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
if (!empty($_FILES)) {
$tempFile = $_FILES['Filedata']['tmp_name'];
$targetPath = $_SERVER['DOCUMENT_ROOT'] . $_REQUEST['folder'] . '/';
$targetFile = str_replace('//','/',$targetPath) . $_FILES['Filedata']['name'];
$targetFile = iconv("utf-8","gbk",$targetFile);
move_uploaded_file($tempFile,$targetFile);
echo "1";
}
?
eclipes上传图片的插件叫什么名字
eclipes上传图片的插件是Uploadify插件,Uploadify是来自国外的一款优秀jQuery插件,主要功能是批量上传文件,此插件在项目中已被广泛之用。
有哪些好用的 jQuery 图片上传插件
1、uploadify
它是针对jQuery的免费文件上传插件,可以轻松将单个或多个文件上传到网站上,可控制并发上传的文件数,通过接口参数和CSS控制外观。Web服务器需支持flash和后端开发语言。
2、FancyUpload
它是一个由CSS和XHTML编写样式的Ajax文件上传工具,安装简便,服务器独立,由MooTools模块驱动,可以在任何现代浏览器上使用。
3、Aurigma Upload Suite(Image Uploader)
这是一个不限大小,不限格式的文件/图片批量上传工具,是收费控件。它支持云端存储和客户端文件处理,支持断点续传,稳定可靠。从8.0.8开始,Image Uploader将名称改为"Aurigma Upload Suite"。
网页标题:jquery图片上传插件,jquery图片编辑插件
URL分享:http://ybzwz.com/article/dssoigc.html