可以将设置添加到 Uploadcare,如下所示:
var myDialog = uploadcare.openDialog(null, {
imagesOnly: true,
multiple: true,
multipleMin: 1
multipleMax: 7
});
现在是怎么minDimensions
设置的?文档显示minDimensions(800x600)
,但该符号不起作用。以下尝试不起作用:
var myDialog = uploadcare.openDialog(null, {
imagesOnly: true,
multiple: true,
multipleMin: 1
multipleMax: 7,
minDimensions: '800,600'
});
以下也不起作用:
var myDialog = uploadcare.openDialog(null, {
imagesOnly: true,
multiple: true,
multipleMin: 1
multipleMax: 7,
minWidth: 800,
minHeight: 600
});
此外,尚不清楚如果上传的图像尺寸小于这些设置会发生什么。小部件是否显示错误?