mirror of
https://github.com/vichan-devel/vichan.git
synced 2025-01-31 04:13:49 +01:00
fixed display of image resolution/size, which was broken after the new image class was introduced
This commit is contained in:
parent
56706495b2
commit
5f2a1874ba
3
post.php
3
post.php
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user