forked from leftypol/leftypol
bug fix, wrong index
This commit is contained in:
parent
0f00f800b9
commit
33a07e9ee0
1 changed files with 2 additions and 2 deletions
|
@ -265,8 +265,8 @@ class ImageConvert extends ImageBase {
|
|||
}
|
||||
$size = $this->get_size($this->src, false);
|
||||
if ($size) {
|
||||
$this->width = $size[1];
|
||||
$this->height = $size[2];
|
||||
$this->width = $size[0];
|
||||
$this->height = $size[1];
|
||||
|
||||
$this->image = true;
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue