Ueditor Upload Picture configuration

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.