JCrop boxWidth and boxHeight

JCrop boxWidth and boxHeight

Hi,

I'm trying to use boxWidth and boxHeight.
It seems to work well for an image wider than height but not working well for an image higher than wide.

Code here :

  1. $('#UncroppedImage').Jcrop({
        setSelect: [0, 0, 100, 100],
        minSize: [100, 100],
        maxSize: [640, 640],
        onChange: updateOriginal,
        onSelect: updateOriginal,
        aspectRatio: 1 / 1,
        boxWidth: 640,
        boxHeight: 640
    });

See the result of that :