Skip to content

Commit 593aeab

Browse files
committed
Calling methods with wrong casing
1 parent 2892593 commit 593aeab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/ImageResize.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,8 +135,8 @@ public function __construct($filename)
135135
$this->source_image = $this->imageCreateJpegfromExif($filename);
136136

137137
// set new width and height for image, maybe it has changed
138-
$this->original_w = ImageSX($this->source_image);
139-
$this->original_h = ImageSY($this->source_image);
138+
$this->original_w = imagesx($this->source_image);
139+
$this->original_h = imagesy($this->source_image);
140140

141141
break;
142142

0 commit comments

Comments
 (0)