bootstrap inputfile预览弹窗大小设置

 时间:2024-10-25 18:05:43

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

bootstrap inputfile预览弹窗大小设置

2、然后allowedFileExtensions: ['jpg', 'png', 'jpeg', 'gif', 'bmp'],

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预览弹窗大小设置
  • 怎么用set命令查看环境变量
  • python3函数中如何退出程序
  • html中按回退如何刷新
  • 如何将手机浏览器设为电脑版及设置默认引擎
  • 三国志幻想大陆桃园少女团桃园商铺兑换推荐攻略
  • 热门搜索
    文件删除不了怎么办 临时身份证多久可以拿到 西安旅游住宿 广州旅游景区 欧睿宇邦橱柜怎么样 来月经可以吃芒果吗 孕妇可以用暖宝宝 小麦草怎么吃 多久可以验孕 腾讯视频弹幕怎么开