diff --git a/README.md b/README.md index d4c28c6..09be820 100755 --- a/README.md +++ b/README.md @@ -4,14 +4,18 @@ 之前一直用的图床程序是:[PHP多图长传程序2.4.3](https://www.jb51.net/codes/40544.html) 由于版本过老并且使用falsh上传,在当前html5流行大势所趋下,遂利用基础知识新写了一个以html5为默认上传并且支持flash,向下兼容至IE9。 -[![PHP](https://img.shields.io/badge/PHP->=5.6-orange.svg)](http://php.net) +[![PHP](https://img.shields.io/badge/php-5.6%20--%208.0-blue.svg)](http://php.net) [![Release](https://img.shields.io/github/v/release/icret/EasyImages2.0)](https://github.com/icret/EasyImages2.0/releases) -[![Issues](https://img.shields.io/github/issues/icret/EasyImages2.0)](https://github.com/icret/EasyImages2.0/issues) -[![stargazers](https://img.shields.io/github/stars/icret/EasyImages2.0)](https://github.com/icret/EasyImages2.0/stargazers) +[![EasyImage2.0 GitHub's stars](https://img.shields.io/github/stars/icret/easyImage2.0?style=social)](https://github.com/icret/EasyImages2.0/stargazers) +[![EasyImage2.0 GitHub's forks](https://img.shields.io/github/forks/icret/easyimage2.0?style=social)](https://github.com/icret/EasyImages2.0/network/members) [![jsdelivr](https://data.jsdelivr.com/v1/package/gh/icret/EasyImages2.0/badge)](https://cdn.jsdelivr.net/gh/icret/EasyImages2.0@EasyImage2.0/) [![Code size](https://img.shields.io/github/languages/code-size/icret/EasyImages2.0?color=blueviolet)](https://github.com/icret/EasyImages2.0) [![License](https://img.shields.io/badge/license-GPL_V2.0-yellowgreen.svg)](https://github.com/icret/EasyImages2.0/blob/master/LICENSE) [![QQ group](https://pub.idqqimg.com/wpa/images/group.png)](https://jq.qq.com/?_wv=1027&k=jfXRHU8Y) + >[演示](https://png.cm/) | [Chrome/Edge 插件](https://github.com/icret/EasyImage-Browser-Extension) | [使用手册](https://www.kancloud.cn/easyimage/easyimage/) | [Telegram](https://t.me/Easy_Image) > @@ -176,7 +180,7 @@ $HTTP["url"] =~ "^/(i|public)/" {
点击查看2.0版更新日志 -* 2022-05-04 v2.6.2 deving +* 2022-05-04 v2.6.2 - 增加API/用户文件浏览和删除 - 增加转换webp后也会添加水印 - 转换成webp后不建议开启水印,会增大图片体积 diff --git a/application/info.php b/application/info.php index fb3662c..168d9a5 100755 --- a/application/info.php +++ b/application/info.php @@ -38,7 +38,7 @@ if ($config['ad_top']) echo $config['ad_top_info']; ?>
-  <?php echo basename($getIMG); ?> +  <?php echo basename($getIMG); ?>

图片名称:

diff --git a/config/config.php b/config/config.php index 21b5c19..8b5abbe 100755 --- a/config/config.php +++ b/config/config.php @@ -1,98 +1,98 @@ '简单图床 - EasyImage', - 'keywords'=>'简单图床,easyimage,easyimage2.0,无数据库图床,免费图床,PHP多图长传程序,自适应页面,一键复制链接,HTML5,markdown,bbscode', - 'description'=>'简单图床EasyImage是一款支持多文件上传的无数据库图床,可以完美替代PHP多图上传程序,最新html5自适应页面兼容手机电脑,上传后返回图片直链,markdown图片,论坛贴图bbscode链接,简单方便支持一键复制,支持多域名,api上传', +$config=Array + ( + 'title'=>'简单图床 - EasyImage', + 'keywords'=>'简单图床,easyimage,easyimage2.0,无数据库图床,免费图床,PHP多图长传程序,自适应页面,一键复制链接,HTML5,markdown,bbscode', + 'description'=>'简单图床EasyImage是一款支持多文件上传的无数据库图床,可以完美替代PHP多图上传程序,最新html5自适应页面兼容手机电脑,上传后返回图片直链,markdown图片,论坛贴图bbscode链接,简单方便支持一键复制,支持多域名,api上传', 'tips'=>' 如果你喜欢这种图床风格就下载喔 (๑•̀ㅂ•́)و✧ 简单图床是一款开源图床, 支持多文件上传无数据库 -
  • 单文件≤10M,单次上传≤30张
  • ', - 'notice_status'=>0, +
  • 单文件≤10M,单次上传≤30张
  • ', + 'notice_status'=>0, 'notice'=>'

    简单图床是一款开源图床, 支持多文件上传无数据库;

    -

    如果你喜欢这种图床风格就下载喔 (๑•̀ㅂ•́)و✧

    ', - 'domain'=>'http://127.0.0.1', - 'imgurl'=>'http://127.0.0.1,http://192.168.2.100', - 'user'=>'admin', - 'password'=>'e6e061838856bf47e1de730719fb2609', - 'mustLogin'=>0, - 'apiStatus'=>0, - 'path'=>'/i/', - 'mime'=>'image/*,video/*', - 'imgName'=>'default', - 'maxSize'=>10485760, - 'maxUploadFiles'=>30, - 'watermark'=>0, - 'waterText'=>'简单图床 - png.cm', - 'waterPosition'=>0, - 'textColor'=>'rgba(255,0,0,1)', - 'textSize'=>50, - 'textFont'=>'/public/static/hkxzy.ttf', - 'waterImg'=>'/public/images/watermark.png', - 'extensions'=>'gif,jpeg,png,tif,bmp,tif,svg,webp,jpg,tga,svg,ico', - 'compress'=>0, - 'compress_ratio'=>80, - 'thumbnail'=>1, - 'imgConvert'=>'', - 'maxWidth'=>10240, - 'maxHeight'=>10240, - 'minWidth'=>5, - 'minHeight'=>5, - 'imgRatio'=>0, - 'image_x'=>200, - 'image_y'=>200, - 'imgRatio_quality'=>80, - 'imgRatio_crop'=>1, - 'imgRatio_preserve_headers'=>1, - 'static_cdn'=>0, - 'theme'=>'default', - 'static_cdn_url'=>'https://cdn.jsdelivr.net/gh/icret/EasyImages2.0', - 'TinyPng_key'=>'', - 'checkImg'=>0, - 'checkImg_value'=>50, - 'moderatecontent_key'=>'', - 'nsfwjs_url'=>'', - 'showSwitch'=>1, - 'showSort'=>1, - 'listNumber'=>20, - 'customize'=>'', - 'checkEnv'=>1, - 'upload_logs'=>1, - 'cache_freq'=>2, - 'upload_first_show'=>1, - 'show_user_hash_del'=>1, - 'show_exif_info'=>1, - 'chart_on'=>1, - 'check_ip'=>0, - 'check_ip_model'=>0, - 'check_ip_list'=>'', - 'public'=>0, - 'public_list'=>Array - ( - 0=>'time', - 1=>'today', - 2=>'yesterday', - 3=>'total_space', - 4=>'used_space', - 5=>'free_space', - 6=>'image_used', - 7=>'file', - 8=>'dir', - 9=>'month' - ), - 'language'=>0, - 'login_bg'=>'https://png.cm/public/images/login_bg.jpg', - 'image_recycl'=>1, - 'tinyfilemanager'=>1, - 'delDir'=>'thumbnails/', - 'hide'=>0, - 'hide_key'=>'EasyImage2.0', - 'hide_path'=>0, - 'admin_path_status'=>0, - 'guest_path_status'=>0, - 'token_path_status'=>0, - 'admin_path'=>'u', - 'version'=>'2.6.2', - 'update'=>'2022-05-04 19:57:16', +

    如果你喜欢这种图床风格就下载喔 (๑•̀ㅂ•́)و✧

    ', + 'domain'=>'http://127.0.0.1', + 'imgurl'=>'http://127.0.0.1,http://192.168.2.100', + 'user'=>'admin', + 'password'=>'e6e061838856bf47e1de730719fb2609', + 'mustLogin'=>0, + 'apiStatus'=>0, + 'path'=>'/i/', + 'mime'=>'image/*,video/*', + 'imgName'=>'default', + 'maxSize'=>10485760, + 'maxUploadFiles'=>30, + 'watermark'=>0, + 'waterText'=>'简单图床 - png.cm', + 'waterPosition'=>0, + 'textColor'=>'rgba(255,0,0,1)', + 'textSize'=>50, + 'textFont'=>'/public/static/hkxzy.ttf', + 'waterImg'=>'/public/images/watermark.png', + 'extensions'=>'gif,jpeg,png,tif,bmp,tif,svg,webp,jpg,tga,svg,ico', + 'compress'=>0, + 'compress_ratio'=>80, + 'thumbnail'=>1, + 'imgConvert'=>'', + 'maxWidth'=>10240, + 'maxHeight'=>10240, + 'minWidth'=>5, + 'minHeight'=>5, + 'imgRatio'=>0, + 'image_x'=>200, + 'image_y'=>200, + 'imgRatio_quality'=>80, + 'imgRatio_crop'=>1, + 'imgRatio_preserve_headers'=>1, + 'static_cdn'=>0, + 'theme'=>'default', + 'static_cdn_url'=>'https://cdn.jsdelivr.net/gh/icret/EasyImages2.0', + 'TinyPng_key'=>'', + 'checkImg'=>0, + 'checkImg_value'=>50, + 'moderatecontent_key'=>'', + 'nsfwjs_url'=>'', + 'showSwitch'=>1, + 'showSort'=>1, + 'listNumber'=>20, + 'customize'=>'', + 'checkEnv'=>1, + 'upload_logs'=>1, + 'cache_freq'=>2, + 'upload_first_show'=>1, + 'show_user_hash_del'=>1, + 'show_exif_info'=>1, + 'chart_on'=>1, + 'check_ip'=>0, + 'check_ip_model'=>0, + 'check_ip_list'=>'', + 'public'=>0, + 'public_list'=>Array + ( + 0=>'time', + 1=>'today', + 2=>'yesterday', + 3=>'total_space', + 4=>'used_space', + 5=>'free_space', + 6=>'image_used', + 7=>'file', + 8=>'dir', + 9=>'month' + ), + 'language'=>0, + 'login_bg'=>'https://cdn.jsdelivr.net/gh/icret/EasyImages2.0/public/images/login_bg.jpg', + 'image_recycl'=>1, + 'tinyfilemanager'=>1, + 'delDir'=>'thumbnails/', + 'hide'=>0, + 'hide_key'=>'EasyImage2.0', + 'hide_path'=>0, + 'admin_path_status'=>0, + 'guest_path_status'=>0, + 'token_path_status'=>0, + 'admin_path'=>'u', + 'version'=>'2.6.2', + 'update'=>'2022-05-04 22:48:28', 'footer'=>'请勿上传违反中国政策的图片 ', - 'ad_top'=>0, + ', + 'ad_top'=>0, 'ad_top_info'=>'
    -
    ', - 'ad_bot'=>0, +
    ', + 'ad_bot'=>0, 'ad_bot_info'=>'', +
    ', 'terms'=>'
    @@ -196,5 +196,5 @@ $config=Array
    -' +' ); \ No newline at end of file diff --git a/public/images/login_bg.jpg b/public/images/login_bg.jpg index f6aca28..d9e7bf1 100755 Binary files a/public/images/login_bg.jpg and b/public/images/login_bg.jpg differ diff --git a/public/images/picture_photo_image_icon_131252.png b/public/images/picture_photo_image_icon_131252.png deleted file mode 100755 index 3453cd8..0000000 Binary files a/public/images/picture_photo_image_icon_131252.png and /dev/null differ diff --git a/public/images/rocket_button_up.png b/public/images/rocket_button_up.png deleted file mode 100755 index 67e85df..0000000 Binary files a/public/images/rocket_button_up.png and /dev/null differ