Difference between revisions of "CSUpload 1 0-uploadImage"
From ADF Docs
Line 5: | Line 5: | ||
public struct <strong>uploadImage</strong> ( numeric subsiteid, struct data, Binary imgBinaryData, numeric doLogin ) | public struct <strong>uploadImage</strong> ( numeric subsiteid, struct data, Binary imgBinaryData, numeric doLogin ) | ||
− | == Parameters == | + | == Parameters == |
− | + | <table id="lib-params"> | |
+ | <tr class="header"> | ||
+ | <td>Required</td> | ||
+ | <td>Name</td> | ||
+ | <td>Type</td> | ||
+ | <td>Description</td> | ||
+ | </tr> | ||
+ | |||
+ | |||
+ | <tr> | ||
+ | |||
+ | <td class="required">required</td> | ||
+ | |||
+ | <td>subsiteid</td> | ||
+ | <td>numeric</td> | ||
+ | <td></td> | ||
+ | </tr> | ||
+ | |||
+ | <tr> | ||
+ | |||
+ | <td> </td> | ||
+ | |||
+ | <td>data</td> | ||
+ | <td>struct</td> | ||
+ | <td>Data for upload image.</td> | ||
+ | </tr> | ||
+ | |||
+ | <tr> | ||
+ | |||
+ | <td> </td> | ||
+ | |||
+ | <td>imgBinaryData</td> | ||
+ | <td>Binary</td> | ||
+ | <td>Binary data of the image.</td> | ||
+ | </tr> | ||
+ | |||
+ | <tr> | ||
+ | <td>optional</td> | ||
+ | |||
+ | <td class="required">optional</td> | ||
+ | |||
+ | <td>doLogin</td> | ||
+ | <td>numeric</td> | ||
+ | <td>[Default: 0] Force the login always</td> | ||
+ | </tr> | ||
+ | |||
+ | </table> |
Revision as of 03:16, 24 March 2010
Description
Use this method to upload images into the Image Gallery
Signature
public struct uploadImage ( numeric subsiteid, struct data, Binary imgBinaryData, numeric doLogin )
Parameters
Required | Name | Type | Description | |
required | subsiteid | numeric | ||
data | struct | Data for upload image. | ||
imgBinaryData | Binary | Binary data of the image. | ||
optional | optional | doLogin | numeric | [Default: 0] Force the login always |