title: Set max-height and max-width in JCrop
body: <p>i want to crop images in this dimension (900 * 300) .. i use JCrop this is my code : </p>
  
  <pre><code>&lt;img src="1434467640.png" id="target" alt="" /&gt;
  &lt;input type="text" id="x" name="x"&gt;
  &lt;input type="text" id="y" name="y"&gt;
  &lt;input type="text" id="w" name="w"&gt;
  &lt;input type="text" id="h" name="h"&gt;
  </code></pre>
  
  <p>JS : </p>
  
  <pre><code>     $(window).load(function() {
      var jcrop_api;
      var i, ac;
  
      initJcrop();
  
      function initJcrop() {
              jcrop_api = $.Jcrop('#target', {
              onSelect: storeCoords,
              onChange: storeCoords
              });
              jcrop_api.setOptions({ aspectRatio: 3 });
              jcrop_api.setOptions({
  allowResize: false ,
              minSize: [900, 300],
              maxSize: [900, 300]
          });
          jcrop_api.setSelect([0, 0, 900, 300]);
      };
  
  
  
      function storeCoords(c) {
      jQuery('#x').val(c.x);
      jQuery('#y').val(c.y);
      jQuery('#w').val(c.w);
      jQuery('#h').val(c.h);
      };        
  });
  </code></pre>
  
  <p>I want to limit max width and max height for big images ! is there some parameters ? </p>