是否可以設置一些maxWidth和maxHeight以裁剪大圖像? 我在文檔中發現了maxSize,但它僅適用於選擇區域。我也試過trueSize function initJCrop(){
// Create variables (in this scope) to hold the API and image size
var jcrop_api,
boundx
我在應用程序中使用jcrop,我想與選擇(x, y, w, h)打開圖像,當我只給出x, width and height它的工作原理,但是當我添加的'y'值它,它沒有給我正確的價值觀 這是我的代碼: function initJcrop() {
$('#target').Jcrop({
aspectRatio: 3, //If you want to kee