mirror of
https://github.com/vichan-devel/vichan.git
synced 2025-02-20 20:51:50 +01:00
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…
x
Reference in New Issue
Block a user