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 18a208e873
commit bdaf941d34

View File

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