aboutsummaryrefslogtreecommitdiffstats
path: root/ws.php
diff options
context:
space:
mode:
authorpatdenice <patdenice@piwigo.org>2011-04-21 22:35:16 +0000
committerpatdenice <patdenice@piwigo.org>2011-04-21 22:35:16 +0000
commit17a04fcd399965f5589b26245ac040969d5ac117 (patch)
tree42d3312acb49873897e47a6dcb22933c290a9d67 /ws.php
parentd1eb25df099fa74e725692f3d6335b5d35abfc4b (diff)
feature:2273
Add crop functionality to webservice and batch manager. git-svn-id: http://piwigo.org/svn/trunk@10553 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'ws.php')
-rw-r--r--ws.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/ws.php b/ws.php
index 46429b021..fe428120c 100644
--- a/ws.php
+++ b/ws.php
@@ -412,11 +412,13 @@ function ws_addDefaultMethods( $arr )
'type' => array('default' => 'thumbnail'),
'maxwidth' => array('default' => null),
'maxheight' => array('default' => null),
+ 'crop' => array('default' => null),
+ 'follow_orientation' => array('default' => null),
'quality' => array('default' => null),
),
'Regenerate thumbnails or websize photo with given arguments.
<br>Argument "type" can be "thumbnail" or "websize". Default is "thumbnail".
-<br>If maxwidth, maxheight or quality are missing, default parameters of upload will be used.'
+<br>If maxwidth, maxheight, crop, follow_orientation or quality are missing, default parameters of upload will be used.'
);
$service->addMethod(