* 2023-01-30 v2.7.0 dev

- 增加粘贴上传状态
- 增加前端显示缩略图链接
- 增加图片详细信息登录后显示更多信息
- 修复图片详细信息中随机图片排版混乱
This commit is contained in:
icret
2023-01-30 06:15:24 +08:00
parent 6409be96fb
commit 665bdf7d65
19 changed files with 312 additions and 215 deletions

10
application/randPic.php Normal file
View File

@@ -0,0 +1,10 @@
<?php
/**
* 2023-01-29
* 随机图片显示
*/
$img_array = glob('../public/images/*.{gif,jpg,png,jpeg,webp,bmp}', GLOB_BRACE);
if(count($img_array) == 0) die('没找到图片文件。请先上传一些图片到 '.dirname(__FILE__).'/images/ 文件夹');
header('Content-Type: image/png');
echo(file_get_contents($img_array[array_rand($img_array)]));