Fix thumbnail scaling in recent theme

Use decoded JSON values to set thumbnail sizes in the recent theme
This commit is contained in:
szalwia 2015-06-04 17:18:27 +01:00
parent 3f29bdfac9
commit 11c7c57873

View File

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