Permalink
Browse files

add original image size to results

  • Loading branch information...
1 parent 2b71836 commit 98f8b6b64e864dde220e95d79da0b4d86646ea35 Cody Sims and Josh Susser committed Mar 18, 2014
Showing with 2 additions and 0 deletions.
  1. +2 −0 jquery.jWindowCrop.js
View
@@ -159,6 +159,8 @@
cropW: Math.round(base.options.targetWidth/base.workingPercent),
cropH: Math.round(base.options.targetHeight/base.workingPercent),
cropS: base.workingPercent,
+ origW: base.originalWidth,
+ origH: base.originalHeight,
mustStretch: (base.minPercent > 1)
};
base.options.onChange.call(base.image, base.result);

0 comments on commit 98f8b6b

Please sign in to comment.