Fix thumbnail scaling in recent theme
Use decoded JSON values to set thumbnail sizes in the recent theme
This commit is contained in:
parent
3f29bdfac9
commit
11c7c57873
|
@ -79,6 +79,8 @@
|
|||
}
|
||||
else {
|
||||
$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