Commit b3f33a96 by doszhang

dos

parent acf24efa
......@@ -222,9 +222,9 @@ $(document).ready(function () {
var uploadctx = uploadedImg.getContext('2d');
var scale = 1;
if (width < height) {
scale = 500 / width;
scale = 2000 / width;
} else {
scale = 500 / height;
scale = 2000 / height;
}
// uploadctx.scale(scale, scale);
uploadedImg.width = width;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment