Changeset 12724 for trunk/ws.php


Ignore:
Timestamp:
Dec 13, 2011, 3:01:10 PM (12 years ago)
Author:
plg
Message:

merge r12722 from branch 2.3 into trunk
merge r12723 from branch 2.3 into trunk

feature 2531 added: pwg.images.add is able to generate web size + thumbnail
(remote client needs to set "resize" option to something else than 0). When
the "resize" is On, only the "file" must be send with pwg.images.addChunk.

Small improvement compared to code implemented in branch 2.3 : use of
single_insert when resize is Off, single algorithm to update $info_colums (resize On/Off)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ws.php

    r12695 r12724  
    227227    array(
    228228      'file_sum' => array(),
    229       'thumbnail_sum' => array(),
     229      'thumbnail_sum' => array('default' => null),
    230230      'high_sum' => array('default' => null),
    231231      'original_sum' => array(),
     
    241241        'maxValue' => $conf['available_permission_levels']
    242242        ),
     243      'resize' => array('default' => false),
    243244      ),
    244245    'POST method only.
Note: See TracChangeset for help on using the changeset viewer.