diff options
| author | Savetheinternet <savetheinternet@tinyboard.org> | 2011-07-18 22:06:24 +1000 |
|---|---|---|
| committer | Savetheinternet <savetheinternet@tinyboard.org> | 2011-07-18 22:06:24 +1000 |
| commit | 25cbb68ea1d2e6298b2de6730906a6745e656d4c (patch) | |
| tree | 474eb567d118bd2ac339d51d880fcedbeaab0bfc /post.php | |
| parent | b4b98a7edef6674bd010f6d11876276ee0f338a3 (diff) | |
fixed display of image resolution/size, which was broken after the new image class was introduced
Diffstat (limited to 'post.php')
| -rw-r--r-- | post.php | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -447,6 +447,8 @@ error($config['error']['maxsize']); } + $post['width'] = $image->size->width; + $post['height'] = $image->size->height; if($config['minimum_copy_resize'] && $image->size->width <= $config['thumb_width'] && @@ -468,6 +470,7 @@ $post['thumbwidth'] = $thumb->width; $post['thumbheight'] = $thumb->height; + $thumb->_destroy(); } $image->destroy(); |
