summaryrefslogtreecommitdiff
path: root/templates/themes/recent
diff options
context:
space:
mode:
authorBenjamin Southall <applemansigloo@gmail.com>2017-04-28 01:37:01 +0900
committerBenjamin Southall <applemansigloo@gmail.com>2017-04-28 01:37:01 +0900
commit202f73e57a47a220d518e9dded5eae208ed153d5 (patch)
treea9de2cff10fb8a0fb47af7dda1f07f9ada595d70 /templates/themes/recent
parente1c9e6126f87268b637219c531e0a49612c9e91f (diff)
Merge Fix thumbnail scaling in recent theme from vichan-devel/vichan#146
Diffstat (limited to 'templates/themes/recent')
-rw-r--r--templates/themes/recent/theme.php2
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;
}
}