屏蔽生成缩略图错误的图片格式

This commit is contained in:
icret
2022-01-05 03:00:36 +08:00
parent 4a43eb7d1d
commit 124ea5c1b1
7 changed files with 36 additions and 31 deletions

View File

@@ -21,9 +21,9 @@ $config=Array
'textSize'=>16,
'textFont'=>'/public/static/hkxzy.ttf',
'waterImg'=>'/public/images/watermark.png',
'extensions'=>'bmp,jpg,png,tif,gif,pcx,tga,svg,webp,jpeg,tga,svg,ico',
'extensions'=>'gif,jpeg,png,tif,bmp,tif,svg,webp,jpg,tga,svg,ico',
'compress'=>0,
'thumbnail'=>0,
'thumbnail'=>2,
'imgConvert'=>'',
'maxWidth'=>10240,
'maxHeight'=>10240,
@@ -71,6 +71,6 @@ $config=Array
'form'=>'',
'TinyImag_key'=>'',
'moderatecontent_key'=>'',
'footer'=>'<a href="/admin/terms.php" target="_blank">请勿上传违反中国政策的图片</a>
'footer'=>'<a href="/admin/terms.php" target="_blank">请勿上传违反中国政策的图片</a>
<i class="icon icon-smile"></i> <br/>'
);