1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-30 18:24:29 +01:00

Fix thumbnail width/height in API

The API currently has the thumbnail widths and heights switched around
This commit is contained in:
hatstand0 2014-09-25 23:42:41 +10:00 committed by czaks
parent ab2a83d194
commit 7ea5b129e6

View File

@ -41,8 +41,8 @@ class Api {
); );
$this->fileFields = array( $this->fileFields = array(
'thumbheight' => 'tn_w', 'thumbheight' => 'tn_h',
'thumbwidth' => 'tn_h', 'thumbwidth' => 'tn_w',
'height' => 'w', 'height' => 'w',
'width' => 'h', 'width' => 'h',
'size' => 'fsize', 'size' => 'fsize',