bug fix, wrong index
This commit is contained in:
parent
0f00f800b9
commit
33a07e9ee0
@ -265,8 +265,8 @@ class ImageConvert extends ImageBase {
|
|||||||
}
|
}
|
||||||
$size = $this->get_size($this->src, false);
|
$size = $this->get_size($this->src, false);
|
||||||
if ($size) {
|
if ($size) {
|
||||||
$this->width = $size[1];
|
$this->width = $size[0];
|
||||||
$this->height = $size[2];
|
$this->height = $size[1];
|
||||||
|
|
||||||
$this->image = true;
|
$this->image = true;
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user