aboutsummaryrefslogtreecommitdiffstats
path: root/ws.php
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2016-02-09 17:57:42 +0100
committerplegall <plg@piwigo.org>2016-02-09 17:57:42 +0100
commita35c7bdf18ef2e74738a0867b70aab18aa48ec9f (patch)
treebee7ad39b46c6753ad458bb4a57ae6f87596c0e9 /ws.php
parentc4b7977a4272e7e7dedc2adc7d2b2e18867ef27a (diff)
parentc67bf030d1e99c8c0ddbce9e3d84336a333597bd (diff)
Merge branch 'feature/410-pwg.categories.getList-thumbnail_size'
Diffstat (limited to 'ws.php')
-rw-r--r--ws.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/ws.php b/ws.php
index 66e6a707d..44e34b3a6 100644
--- a/ws.php
+++ b/ws.php
@@ -193,6 +193,10 @@ function ws_addDefaultMethods( $arr )
'type'=>WS_TYPE_BOOL),
'fullname' => array('default'=>false,
'type'=>WS_TYPE_BOOL),
+ 'thumbnail_size' => array(
+ 'default' => IMG_THUMB,
+ 'info' => 'square, thumb, 2small, xsmall, small, medium, large, xlarge, xxlarge'
+ ),
),
'Returns a list of categories.',
$ws_functions_root . 'pwg.categories.php'