| Parameter | Meaning |
|---|---|
| integer uid | User ID |
| string type | Avatar image type real: a real image virtual: (default value) virtual image |
| boolean returnhtml | Whether to return HTML code 1: (default value) set to return avatar as HTML code 0: No, back to set the picture of Flash called array |
| Value | Meaning |
|---|---|
| mixed |
string: set to return Avatar as HTML code array: set to returm avatar as the Flash array called |
| Image size | Call method | Description |
|---|---|---|
| 200 x 250 | {UC_URL}/avatar.php?uid={N}&type={S}&size=big | With the original photo zoom, width and height of not more than 200 * 250px. If the image is smaller, not to enlarge. |
| 120 x 120 | {UC_URL}/avatar.php?uid={N}&type={S}&size=middle | Cut out with a cut box range zoom, you can box with an arbitrary cut. |
| 48 x 48 | {UC_URL}/avatar.php?uid={N}&type={S}&size=small | cut out with a cut box zoom range, the region left for the rectangular area (later changed to the middle version) constituency within the square. |
<img src="http://www.yourwebsite.com/uc_server/avatar.php?uid=58&type=real&size=big" />
<img src="http://www.yourwebsite.com/uc_server/avatar.php?uid=58&type=virtual&size=big" />
Or
<img src="http://www.yourwebsite.com/uc_server/avatar.php?uid=58&size=big" />
| Parameter | Meaning |
|---|---|
| integer uid | User ID |
| string size | Image size big: big image (200 x 250) middle: (default value) middle image (120 x 120), the default value small: small image (48 x 48) |
| string type | Image type real: a real image virtual: (default value) virtual avatar, the default value |
| Value | Meaning |
|---|---|
| boolean |
1: avatar exists 0: avatar does not exist |