/* Front and back end communication related configuration, note only allowed to use multiple lines * *
{
/* Upload Picture configuration Item * *
"Imageactionname": "Uploadimage",/* Execute the action name of the uploaded image/*
"Imagefieldname": "Upfile", * * submitted picture form name * * *
"Imagemaxsize": 2048000,/* Upload size limit, Unit b * *
"Imageallowfiles": [". png", ". jpg", ". jpeg", ". gif", ". bmp"],/* Upload picture format display * *
' Imagecompressenable ': true,///compression of the picture, default is True/*
"Imagecompressborder": 1600,/* picture compression maximum edge limit * *
"Imageinsertalign": "None", * * Insert the picture floating mode * *
"Imageurlprefix": "",/* Image access Path prefix * *
"Imagepathformat": "/uploadfile/{yyyy}/{mm}{dd}/{yyyy}{mm}{dd}{rand:6}",/* Upload save path, you can customize the save path and file name format * *
/* {filename} will be replaced by the original filename, configure this need to pay attention to the Chinese garbled problem * *
/* {RAND:6} will replace the random number, followed by the number of random number of digits * *
/* {time} will be replaced with a timestamp * *
/* {YYYY} will be replaced by four-bit year * *
/* {YY} will be replaced by two-bit year * *
/* {mm} will be replaced by two-digit month * *
/* {DD} will be replaced with two-digit date.
* * {HH} will be replaced by two-hour/
/* {II} will be replaced by two-bit minutes */
/* {SS} will be replaced by two-bit seconds * *
/* Illegal characters \: *? "< > | */
* * Please look at the online document: fex.baidu.com/ueditor/#use-format_upload_filename * *
* * Graffiti Picture Upload configuration Item * *
"Scrawlactionname": "Uploadscrawl", * * Execute the name of the action to upload graffiti * *
"Scrawlfieldname": "Upfile", * * submitted picture form name * * *
"Scrawlpathformat": "/uploadfile/{yyyy}/{mm}{dd}/{time}{rand:6}",/* Upload save path, you can customize the save path and file name format * *
"Scrawlmaxsize": 2048000,/* Upload size limit, Unit b * *
"Scrawlurlprefix": "",/* Image access Path prefix * *
"Scrawlinsertalign": "None",
/* screenshot tool upload/*
"Snapscreenactionname": "Uploadimage", * * Execute upload screenshot of the action name * *
"Snapscreenpathformat": "/uploadfile/{yyyy}/{mm}{dd}/{time}{rand:6}",/* Upload save path, you can customize the save path and file name format * *
"Snapscreenurlprefix": "",/* Image access Path prefix * *
"Snapscreeninsertalign": "None", * * Insert the picture floating mode * *
/* Crawl Remote picture configuration * *
"Catcherlocaldomain": ["127.0.0.1", "localhost", "img.baidu.com"],
"Catcheractionname": "Catchimage",/* Execute the action name of the crawl remote picture * *
"Catcherfieldname": "Source", * * submitted picture List Form name * *
"Catcherpathformat": "/uploadfile/{yyyy}/{mm}{dd}/{yyyy}{mm}{dd}{rand:6}",/* Upload save path, you can customize the save path and file name format * *
"Catcherurlprefix": "",/* Image access Path prefix * *
"Catchermaxsize": 2048000,/* Upload size limit, Unit b * *
"Catcherallowfiles": [". png", ". jpg", ". jpeg", ". gif", ". bmp"],/* Grab picture format Display * *
/* Upload Video Configuration * *
"Videoactionname": "Uploadvideo",/* Execute the action name of the upload video * *
"Videofieldname": "Upfile", * * submitted video form name * * *
"Videopathformat": "/uploadfile/{yyyy}/{mm}{dd}/{yyyy}{mm}{dd}{rand:6}",/* Upload save path, you can customize the save path and file name format * *
"Videourlprefix": "",/* Video access Path prefix * *
"Videomaxsize": 102400000,/* Upload size limit, Unit B, default 100MB * *
"Videoallowfiles": [
". flv", ". SwF", ". mkv", ". avi", ". Rm", ". rmvb", ". Mpeg", ". mpg",
". Ogg", ". Ogv", ". mov", ". wmv", ". mp4", ". WebM", ". mp3", ". wav", ". Mid"],/* Upload video format display * *
/* Upload file Configuration * *
"Fileactionname": "UploadFile",/* Controller, execute the action name of the upload video * *
"Filefieldname": "Upfile", * * submitted document form name * *
"Filepathformat": "/uploadfile/{yyyy}/{mm}{dd}/{yyyy}{mm}{dd}{rand:6}",/* Upload save path, you can customize the save path and file name format * *
"Fileurlprefix": "",/* File access Path prefix * *
"Filemaxsize": 51200000,/* Upload size limit, Unit B, default 50MB * *
"Fileallowfiles": [
". png", ". jpg", ". jpeg", ". gif", ". bmp",
". flv", ". SwF", ". mkv", ". avi", ". Rm", ". rmvb", ". Mpeg", ". mpg",
". Ogg", ". Ogv", ". mov", ". wmv", ". mp4", ". WebM", ". mp3", ". wav", ". Mid",
". rar", ". zip", ". Tar", ". Gz", ". 7z", ". bz2", ". Cab", ". ISO",
". Doc", ". docx", ". xls", ". xlsx", ". ppt", ". pptx", ". pdf", ". txt", ". MD", ". xml"
],/* Upload file format display * *
/* List the pictures under the specified directory * *
"Imagemanageractionname": "ListImage",/* Execute Picture Management action name * *
"Imagemanagerlistpath": "/uploadfile/",/* Specify the directory to which you want to list the pictures * *
"Imagemanagerlistsize": 20,/* The number of documents per list * *
"Imagemanagerurlprefix": "",/* Image access Path prefix * *
"Imagemanagerinsertalign": "None", * * Insert the picture floating mode * *
"Imagemanagerallowfiles": [". png", ". jpg", ". jpeg", ". gif", ". bmp"],/* listed file Types * *
/* List files in the specified directory/*
"Filemanageractionname": "ListFile",/* Execute File Management action name * *
"Filemanagerlistpath": "/uploadfile/",/* Specifies the directory to which you want to list files * *
"Filemanagerurlprefix": "",/* File access Path prefix * *
"Filemanagerlistsize": 20,/* The number of documents per list * *
"Filemanagerallowfiles": [
". png", ". jpg", ". jpeg", ". gif", ". bmp",
". flv", ". SwF", ". mkv", ". avi", ". Rm", ". rmvb", ". Mpeg", ". mpg",
". Ogg", ". Ogv", ". mov", ". wmv", ". mp4", ". WebM", ". mp3", ". wav", ". Mid",
". rar", ". zip", ". Tar", ". Gz", ". 7z", ". bz2", ". Cab", ". ISO",
". Doc", ". docx", ". xls", ". xlsx", ". ppt", ". pptx", ". pdf", ". txt", ". MD", ". xml"
]/* The file types listed * *
} |