Skip to content

Commit

Permalink
beta3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
zyx0814 committed Jan 29, 2022
1 parent 3d95bf3 commit 23a9dea
Show file tree
Hide file tree
Showing 62 changed files with 5,553 additions and 3,038 deletions.
21 changes: 9 additions & 12 deletions UPDATE.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,17 @@
## PicHome beta3.1 更新说明
## PicHome beta3.2 更新说明

### 1.增加billfish库文件导入支持
### 1.修复windows文件上传至linux服务器,由于编码问题导致的库导入没有文件问题

### 2.库设置内容更改,显示当前库连接状态,断开为不可用;增加普通目录文件缩略图生成数量显示,
整体优化库设置在未导入之前也可对库进行管理操作
### 2.库设置内容更改,当库状态为断开时,可以重新设置库的路径(即目录位置移动之后,库读取不到,可以设置为新目录所在位置)

### 3.修复系统设置界面因二级域名导致的白页问题
### 3.优化普通目录文件缩略图生成逻辑,以修复瀑布流展示时页面问题(此项对已生成过缩略图的不生效,需重新导入库生成)

### 4.修复标签分类等数据显示异常问题;不可用状态的库将不在列表页展示其内容
### 4.优化导入逻辑,当库在导入状态时,将会自动执行导入文件,直至导入完成为止

### 5.修复下载时提示文件不存在的bug
### 5.修复eagle库注释显示html标签问题

### 6.优化删除逻辑,将更快清理冗余数据
### 6.修复billfish库导入链接丢失问题

### 7.优化导入逻辑
### 7.优化删除逻辑

### 8.优化访问效率

### 9.其他已知bug修复
### 8.其他已知bug修复
14 changes: 14 additions & 0 deletions core/class/class_image.php
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,11 @@ function sizevalue($method) {
$w = ceil($y_ratio * $this->imginfo['width']);
$h = $this->param['thumbheight'];
}
if($w < 242){
$w = $this->param['thumbwidth'] = 242;
$x_ratio = $this->param['thumbwidth'] / $this->imginfo['width'];
$h = ceil($x_ratio*$this->imginfo['height']);
}
}
return array($x, $y, $w, $h);
}
Expand Down Expand Up @@ -356,6 +361,10 @@ function scaleImage($width,$height,$owidth,$oheight) {
}else{

$width=ceil($height*$or);
if($width < 242){
$width = 242;
$height = ceil($width/$or);
}
}

}else{
Expand All @@ -364,6 +373,11 @@ function scaleImage($width,$height,$owidth,$oheight) {
$width=$owidth;
}else{
$height=ceil($width/$or);
$width = ceil($height*$or);
if($width < 242){
$width = 242;
$height = ceil($width/$or);
}
}
}

Expand Down
Loading

0 comments on commit 23a9dea

Please sign in to comment.