bootstrap inputfile预览弹窗大小设置

2024-10-25 18:05:43

1、首先$('#activityImg').fileinput({ language: 'zh', uploadUrl: '${ctx}/activity/imgUpload',

bootstrap inputfile预览弹窗大小设置

3、接着allowedPreviewTypes : ['image', 'html', 'text', 'video', 'audio', 'flash'],

bootstrap inputfile预览弹窗大小设置

4、dropZoneTitle: "上传图片640 * 350分辨率效果更好", // 这个配置就是解决办法了,初始化时限制图片大小,

bootstrap inputfile预览弹窗大小设置

5、最后previewSettings: { image: {width: "100px", height: "100px"}, } })

bootstrap inputfile预览弹窗大小设置
猜你喜欢