dedecms织梦让上传的图片名字不变保持原名打开 includedialogselect_images_post.php 找到$filename_name = $cuserLogin->getUserID().'-'.dd2char(MyDate("ymdHis", $nowtme).mt_rand(100,999));改成打开 includehelpersupload.helper.php 找到$fs2 = explode('.', $imgfile_name);$filename_name = $fs2[count($fs2)-2];
//缩略图不重命名改成$filename = $cuserLogin->getUserID().'-'.dd2char(MyDate('ymdHis', time())).$rnddd;继续找到if($ftype=='imagelit') $filename .= '-L';删除或者注释掉这行打开 dedeswfupload.php 找到$filename = $cuserLogin->getUserID().'-'.dd2char(MyDate('ymdHis', time())).$rnddd;改成$file_snames = explode('.', $Filename);$filename = $file_snames[count($file_snames)-2];//缩略图不重命名