diff options
| author | Benjamin Southall <applemansigloo@gmail.com> | 2017-04-28 01:37:01 +0900 |
|---|---|---|
| committer | Benjamin Southall <applemansigloo@gmail.com> | 2017-04-28 01:37:01 +0900 |
| commit | 202f73e57a47a220d518e9dded5eae208ed153d5 (patch) | |
| tree | a9de2cff10fb8a0fb47af7dda1f07f9ada595d70 | |
| parent | e1c9e6126f87268b637219c531e0a49612c9e91f (diff) | |
Merge Fix thumbnail scaling in recent theme from vichan-devel/vichan#146
| -rw-r--r-- | templates/themes/recent/theme.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/themes/recent/theme.php b/templates/themes/recent/theme.php index 7081346b..37a8bb22 100644 --- a/templates/themes/recent/theme.php +++ b/templates/themes/recent/theme.php @@ -80,6 +80,8 @@ } else { $post['src'] = $config['uri_thumb'] . $files[0]->thumb; + $post['thumbwidth'] = $files[0]->thumbwidth; + + $post['thumbheight'] = $files[0]->thumbheight; } } |
