去评论
dz插件网

DISCUZ图片及文件上传功能详解

admin
2020/07/07 09:24:05
用到的类及函数:
  1. source/class/discuz/discuz_upload.php
discuz_upload{} 文件上传类
  1. source/class/class_image.php
image{} 图片处理类
source/function/function_home.php
  1. pic_upload($FILES, $type='album', $thumb_width=0, $thumb_height=0, $thumb_type=2)  基本图片上传source/function/function_spacecp.phppic_save($FILE, $albumid, $title, $iswatermark = true, $catid = 0)  复杂图片上传source/function/function_core.phpgetimgthumbname($fileStr, $extend='.thumb.jpg', $holdOldExt=true)  依图片地址获取缩略图地址