当前位置:网站首页>Ueeditor v1.4.3 control file compression
Ueeditor v1.4.3 control file compression
2022-07-28 10:22:00 【Java code farmer Lao Wang】
...
var flashOptions = {
container:"flashContainer", //flash Containers id
url:editor.options.imageUrl, // Upload processing page url Address
ext:params, // A list of custom parameters that can be submitted to the server
fileType:'{"description":"'+lang.fileType+'", "extension":"*.gif;*.jpeg;*.png;*.jpg"}', // Upload file format restrictions
flashUrl:'imageUploader.swf', // Upload with flash Component address
width:608, //flash Width
height:272, //flash Height
gridWidth:121, // The width of each preview image
gridHeight:120, // The height of each preview image
picWidth:100, // The width of a single preview image
picHeight:100, // The height of a single preview image
uploadDataFieldName:editor.options.imageFieldName, // POST Image data in the request key
picDescFieldName:'pictitle', // POST The picture in the request describes key
maxSize:4, // The maximum size of the file , Company M
compressSize:4, // If the image volume exceeds this value before uploading , It's compressed first , Company M
maxNum:32, // How many files can be uploaded at a time
compressSide:editor.options.compressSide, // The benchmark of proportional compression ,0 According to the longest side ,1 In order to follow the width ,2 According to the height
compressLength:editor.options.maxImageSideLength // The maximum acceptable side length , Beyond this value Flash It will automatically compress proportionally
};
...Modify... As needed maxSize、compressSize、compressLength These three parameters are OK . Finally, I'll make complaints about it UEditor Configuration mode , Configuration files are everywhere , Sometimes I don't know which one to use .
边栏推荐
- IDEA创建我的第一个项目
- Why should I take the first-class constructor examination? How high is the gold content of the first-class Constructor Certificate?
- 管道、管程、管态的区别
- 多线程与高并发(三)—— 源码解析 AQS 原理
- Multithreading and high concurrency (III) -- source code analysis AQS principle
- SuperMap iServer发布管理以及调用地图服务
- What kind of knowledge payment system functions are more conducive to the development of the platform and lecturers?
- Summary of key points of bank entry examination
- IDEA打包jar包及运行jar包命令
- 2. Output one of the repeated numbers in the array
猜你喜欢

It's settled! On July 30!

B2B e-commerce website scheme for building materials industry: enable the transformation and upgrading of building materials enterprises to achieve cost reduction and efficiency improvement

Typora使用教程

Choosing a supplier service system is the first step for large health industry enterprises to move towards digital transformation

7、二分法——寻找一组重复或者有序但是旋转的数组

Sword finger offer

第一篇:UniAPP的小程序跨端开发-----创建uniapp项目

Match file names from file paths using regular expressions

利用正则表达式从文件路径中匹配文件名

6. Double pointer -- the sum of the two numbers of the incremental array is equal to the target number
随机推荐
Ie compatibility problem handling
Elk real time log analysis platform
Leetcode076 -- the kth largest number in the array
Record a parent-child project in idea, modify the name of project and module, and test it personally!
PHP generates QR code (learning)
KingbaseES V8R6 JDBC 能否使用VIP ?
指令系统超全知识点详解
3.用数组逆序打印链表
Huawei takes a 10% stake in fullerene technology, a graphene material manufacturer
13. Hash table - the first common node of two linked lists
记录一次idea中的父子项目修改project与module名称,亲测!
uni-app项目目录、文件作用介绍 及 开发规范
2. 输出数组中重复的数字之一
9. Delete nodes in the linked list
上下文变量值(context values)陷阱及在 Go 中如何避免或缓和这些陷阱
MySQL架构原理
双指针技巧
B2B e-commerce website scheme for building materials industry: enable the transformation and upgrading of building materials enterprises to achieve cost reduction and efficiency improvement
Go 内存模型 (2014年5月31日版本)
Summary of key points of bank entry examination