Skip to content

Commit f9e1d82

Browse files
committed
allow configuration of imageSmoothingQuality. default is "low", other options are "medium" and "high".
Usage: $('#fileupload').fileupload({ disableImageResize: /Android(?!.*Chrome)|Opera/ .test(window.navigator && navigator.userAgent), imageSmoothingQuality: 'medium', }
1 parent 429a0bf commit f9e1d82

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

js/jquery.fileupload-image.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,8 @@
8181
crop: '@',
8282
orientation: '@',
8383
forceResize: '@',
84-
disabled: '@disableImageResize'
84+
disabled: '@disableImageResize',
85+
imageSmoothingQuality: '@imageSmoothingQuality'
8586
},
8687
{
8788
action: 'saveImage',

0 commit comments

Comments
 (0)