Merge Fix thumbnail scaling in recent theme from vichan-devel/vichan#146

This commit is contained in:
Benjamin Southall 2017-04-28 01:37:01 +09:00
parent e1c9e6126f
commit 202f73e57a

View File

@ -80,6 +80,8 @@
}
else {
$post['src'] = $config['uri_thumb'] . $files[0]->thumb;
$post['thumbwidth'] = $files[0]->thumbwidth;
+ $post['thumbheight'] = $files[0]->thumbheight;
}
}