1、后台-系统-附件设置,添加bmp
2、找到 \include\dialog\select_images_post.php
$sparr = Array("image/pjpeg", "image/jpeg", "image/gif", "image/png", "image/xpng", "image/wbmp"); |
改为:
$sparr = Array("image/pjpeg", "image/jpeg", "image/gif", "image/png", "image/xpng", "image/wbmp", "image/bmp"); |
3、\include\helpers\upload.helper.php 找到
$sparr = Array('image/pjpeg', 'image/jpeg', 'image/gif', 'image/png', 'image/xpng', 'image/wbmp'); |
改为:
$sparr = Array('image/pjpeg', 'image/jpeg', 'image/gif', 'image/png', 'image/xpng', 'image/wbmp', 'image/bmp'); |
4、\include\dialog\select_images.php 找到
(gif|png) |
改为:
(gif|png|bmp) |
本站部分内容来源互联网,如果有图片或者内容侵犯您的权益请联系我们删除!