多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
### thumb > 图片缩略图函数 **函数** ~~~ thumb($path, $width, $height) ~~~ **参数** | 参数 | 类型 | 说明 | | --- | --- | --- | | $path | string | 图片路径 | | $width | int | 缩略图宽度 | | $path | int | 缩略图高度 | **使用示例** ~~~ {$member.avatar|thumb=60,60} ~~~ **输出结果** ~~~ /upload/20180730/a5c81705fbe10ac396a961fe090eff4e_60x60.jpg ~~~ 模版中使用函数默认会将自身作为第一个参数。