You've already forked EasyImages2.0
mirror of
https://github.com/icret/EasyImages2.0.git
synced 2025-12-13 11:43:58 +08:00
屏蔽生成缩略图错误的图片格式
This commit is contained in:
@@ -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/>'
|
||||
);
|
||||
Reference in New Issue
Block a user