From 17a04fcd399965f5589b26245ac040969d5ac117 Mon Sep 17 00:00:00 2001 From: patdenice Date: Thu, 21 Apr 2011 22:35:16 +0000 Subject: feature:2273 Add crop functionality to webservice and batch manager. git-svn-id: http://piwigo.org/svn/trunk@10553 68402e56-0260-453c-a942-63ccdbb3a9ee --- ws.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'ws.php') 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.
Argument "type" can be "thumbnail" or "websize". Default is "thumbnail". -
If maxwidth, maxheight or quality are missing, default parameters of upload will be used.' +
If maxwidth, maxheight, crop, follow_orientation or quality are missing, default parameters of upload will be used.' ); $service->addMethod( -- cgit v1.2.3