Skip to content

Commit 1fcc98d

Browse files
committed
Merge branch 'master' of github.com:think2011/LocalResizeIMG
2 parents 4d72a07 + 66bc162 commit 1fcc98d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ LocalResizeIMG
33

44
# 前端HTML5本地压缩图片,兼容移动设备IOS,android。
55

6-
76
## 概述
87
* 通常压缩图片需要上传到后端,由后端处理。
98
* 但是如果要上传的图片很大,特别是手机当场拍摄下来的照片(约2M+),那样效率会很低,用户也不会愿意等待。
@@ -16,7 +15,7 @@ LocalResizeIMG
1615

1716
## 使用方法
1817
具体详情请查看 源代码,或者 demo。
19-
```
18+
```javascript
2019
$('input:file').localResizeIMG({
2120
width: 100,
2221
quality: 0.1,
@@ -38,3 +37,4 @@ LocalResizeIMG
3837
> ##### 技术: jquery
3938
> ##### 时间: 2014年5月
4039
> ##### 源码: [Guthub](https://github.com/think2011/LocalResizeIMG)
40+
> ##### 博客: [think2011](http://think2011.github.io)

0 commit comments

Comments
 (0)