Permalink
Browse files

Added boxWidth and boxHeight settings. Thanks to @interrobang

  • Loading branch information...
1 parent 63e9e33 commit 2c13568da16d1f5aceaf6b526a72d58e176f0543 @apeisa committed Jun 20, 2012
Showing with 3 additions and 1 deletion.
  1. +3 −1 ProcessCropImage/ProcessCropImage2.js
@@ -6,7 +6,9 @@ $(function(){
$crop.Jcrop({
onChange: showCoords,
onSelect: showCoords,
- aspectRatio: w/h
+ aspectRatio: w/h,
+ boxWidth: screen.width - 100,
+ boxHeight: screen.height - 100
});
}
$('#show_preview').click(function(){

0 comments on commit 2c13568

Please sign in to comment.