The official instructions

Fex.baidu.com/webuploader…

Compress {Object} [Optional] Option for configuring compressed images. If this option is false, the image is not compressed before uploading. The default is: {width: 1600, height: 1600, // image quality, only valid when type is' image/jpeg '. Quality: 90, // Whether to allow magnification, if you want to generate small images without distortion, this option should be set to false. AllowMagnify: false, // Whether to allow clipping. Crop: false, // Whether to preserve header meta information. PreserveHeaders: true, // If the file size is found to be larger than the original, use the original image. // This property may affect the image autocorrect function noCompressIfLarger: False, // in bytes. If the image size is smaller than this value, compression is not used. compressSize: 0 }Copy the code

DTcms path

Source \ DTcms Web \ scripts \ webuploader \ webuploader min. Js \

\

Modify as prompted