diff options
author | patdenice <patdenice@piwigo.org> | 2011-04-21 22:35:16 +0000 |
---|---|---|
committer | patdenice <patdenice@piwigo.org> | 2011-04-21 22:35:16 +0000 |
commit | 17a04fcd399965f5589b26245ac040969d5ac117 (patch) | |
tree | 42d3312acb49873897e47a6dcb22933c290a9d67 /ws.php | |
parent | d1eb25df099fa74e725692f3d6335b5d35abfc4b (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.php | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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( |