How do I change the aspectRatio of the JCrop on the fly?
Sorry for the simple question but the all the manual, the documentation and the discussions are on which is dead from yesterday, and I really need to finish something in this evening.
If someone has by any chance the JCrop manual saved could you please upload?
How do I change the aspectRatio of the JCrop on the fly?
Sorry for the simple question but the all the manual, the documentation and the discussions are on http://deepliquid. which is dead from yesterday, and I really need to finish something in this evening.
If someone has by any chance the JCrop manual saved could you please upload?
Share Improve this question asked Mar 15, 2012 at 15:50 user1236048user1236048 5,6127 gold badges53 silver badges87 bronze badges1 Answer
Reset to default 8(A little late for @user1236048, but it may be helpful for others.)
The aspect ratio can be changed using the jCrop API using the setOptions
method:
jcrop_api.setOptions(
{
aspectRatio: 2/1
});