增加缩略图生成设置,前端组件可使用 imageThumbName 使用缩略图

This commit is contained in:
thinkgem
2023-08-02 10:40:35 +08:00
parent 696b7addb9
commit eaa6646a74
3 changed files with 12 additions and 0 deletions

View File

@@ -707,6 +707,10 @@ file:
# 上传图片自动压缩宽高,指定为 -1 不进行压缩(全局设置) v4.1.7
imageMaxWidth: 1024
imageMaxHeight: 768
# 缩略图设定生成的尺寸宽x高,宽x高、格式jpg,png v5.4.2
#imageThumbConfig: 150x150,300x300
#imageThumbFormat: jpg
# 是否启用秒传
checkmd5: true

View File

@@ -848,6 +848,10 @@ file:
# # 上传图片自动压缩宽高,指定为 -1 不进行压缩(全局设置) v4.1.7
# imageMaxWidth: 1024
# imageMaxHeight: 768
#
# # 缩略图设定生成的尺寸宽x高,宽x高、格式jpg,png v5.4.2
# #imageThumbConfig: 150x150,300x300
# #imageThumbFormat: jpg
#
# # 是否启用秒传
# checkmd5: true

View File

@@ -849,6 +849,10 @@ file:
# imageMaxWidth: 1024
# imageMaxHeight: 768
#
# # 缩略图设定生成的尺寸宽x高,宽x高、格式jpg,png v5.4.2
# #imageThumbConfig: 150x150,300x300
# #imageThumbFormat: jpg
#
# # 是否启用秒传
# checkmd5: true
#