Skip to content

zhh2100/uploader

Repository files navigation

https://github.com/qqtxt/uploader
兼容jquery1.7+ 2,3都支持 
新增canvas压缩  支持canvas就可以压缩图片后上传,100kb内图片不作压缩  app内用过 兼容性好

$(".camera-area").fileUpload({
	"url": "uploader.php",
	"file": "myFile"
});


$(".camera-area").fileUpload({
		"url"				: "uploader.php",	//上传接收文件				必选
		"file"				: "myFile",			//上传给后台接收的$_FILES['myFile']['name'] 

About

H5上传zepto与jquery都可以用

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published