Merge Fix thumbnail scaling in recent theme from vichan-devel/vichan#146
This commit is contained in:
parent
e1c9e6126f
commit
202f73e57a
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user