Changeset 10563 for trunk/ws.php


Ignore:
Timestamp:
Apr 22, 2011, 1:34:57 PM (13 years ago)
Author:
patdenice
Message:

feature:2274
pwg.images.resize method is able to create or regenerate image from image path.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ws.php

    r10553 r10563  
    409409    'ws_images_resize',
    410410    array(
    411       'image_id' => array(),
     411      'image_id' => array('default' => null),
     412      'image_path' => array('default' => null),
    412413      'type' => array('default' => 'thumbnail'),
    413414      'maxwidth' => array('default' => null),
     
    417418      'quality' => array('default' => null),
    418419    ),
    419     'Regenerate thumbnails or websize photo with given arguments.
     420    'Create/Regenerate thumbnails or websize photo with given arguments.
     421<br>One of arguments "image_id" or "image_path" must be passed filled.
    420422<br>Argument "type" can be "thumbnail" or "websize". Default is "thumbnail".
    421423<br>If maxwidth, maxheight, crop, follow_orientation or quality are missing, default parameters of upload will be used.'
Note: See TracChangeset for help on using the changeset viewer.