mirror of
https://github.com/lrsjng/h5ai
synced 2025-12-15 21:32:52 +01:00
Merge branch 'reduce_thumbnails' into PR_fix_short_video_thumbs
This commit is contained in:
commit
46a7b18590
1 changed files with 1 additions and 1 deletions
|
|
@ -248,7 +248,7 @@ class Context {
|
|||
public function get_thumbs($requests) {
|
||||
$hrefs = [];
|
||||
$height = $this->options['thumbnails']['size'] ?? 240;
|
||||
$width = floor($this->thumbnail_height * (4 / 3));
|
||||
$width = floor($height * (4 / 3));
|
||||
|
||||
foreach ($requests as $req) {
|
||||
$thumb = new Thumb($this);
|
||||
|
|
|
|||
Loading…
Reference in a new issue