Browse Source

bug fix, wrong index

pull/40/head
Michael Foster 11 years ago
parent
commit
33a07e9ee0
  1. 4
      inc/image.php

4
inc/image.php

@ -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…
Cancel
Save