From 7ea5b129e6ea03cabdbd67e566f0e352486cdd30 Mon Sep 17 00:00:00 2001 From: hatstand0 Date: Thu, 25 Sep 2014 23:42:41 +1000 Subject: [PATCH] Fix thumbnail width/height in API The API currently has the thumbnail widths and heights switched around --- inc/api.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inc/api.php b/inc/api.php index a8ae9eed..d7b28ee9 100644 --- a/inc/api.php +++ b/inc/api.php @@ -41,8 +41,8 @@ class Api { ); $this->fileFields = array( - 'thumbheight' => 'tn_w', - 'thumbwidth' => 'tn_h', + 'thumbheight' => 'tn_h', + 'thumbwidth' => 'tn_w', 'height' => 'w', 'width' => 'h', 'size' => 'fsize',