1 Go to Ueditor folder to find ueidtors/dialogs/image/image.html--the configuration location is as follows:
107 Utils.domready(function(){
108 var flashoptions = {
109 Container:"Flashcontainer", //flash Container ID
URL:EDITOR.OPTIONS.IMAGEURL, //URL address of the Upload processing page
111 Ext:params, //Custom parameter list that can be submitted to the server
fileType:' {' description ': '+lang.filetype+', ' extension ': ' *.gif;*.jpeg;*.png;*.jpg '} ' , //Upload file format restrictions
113 Flashurl:' imageuploader.swf ', //F for uploading Lash Component Address
Breadth: 608, width of//flash
272 Height: //flash
gridwidth:121, //width of each preview image
117 gridheight:the height of each preview image
118 Picwidth:+ //width of single preview picture
119 Picheight:+ //The height of a single preview picture
UploadDataFieldName:editor.options.imageFieldName, //The key of the picture data in the POST request
121 picdescfieldname:' pictitle ', ///POST request picture description of key
122 maxSize:4, //maximum size of the file, Unit m
123 Compresssize:2, //before uploading if the picture volume exceeds this value, it will be compressed first, Unit m
124 Maxnum:2, //maximum number of files can be uploaded in a single time
compressSide:editor.options.compressSide, // equal to the compression of the benchmark, 0 is according to the longest side, 1 for the width, 2 for the height
126 CompressLength:editor.options.maxImageSideLength //acceptable maximum side length, exceeding this value flash will be automatically equal to compression
2 After the end of the configuration many pages have cache, pay attention to refresh
Ueditor Upload Picture configuration