Changeset 18733 for branches


Ignore:
Timestamp:
Oct 24, 2012, 10:26:21 PM (11 years ago)
Author:
rvelices
Message:

merge -r18732 from trunk to branch 2.4 add page_url (canonical picture url) for web service methods images.search, tags.getImages, images.getInfo, categories.getImages

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.4/include/ws_functions.inc.php

    r17676 r18733  
    149149  $ret = array();
    150150
     151  $ret['page_url'] = make_picture_url( array(
     152            'image_id' => $image_row['id'],
     153            'image_file' => $image_row['file'],
     154          )
     155        );
     156
    151157  $src_image = new SrcImage($image_row);
    152158
     
    183189{
    184190  return array(
    185     'id','element_url', 'file','width','height','hit','date_available','date_creation'
     191    'id','element_url', 'page_url', 'file','width','height','hit','date_available','date_creation'
    186192    );
    187193}
Note: See TracChangeset for help on using the changeset viewer.