Image.getInfo (Method)
Returns a structure containing general (and considerable) information about an image.
Returns:
Image_GetInfo_Result (struct)
Each row of the returned query results has the following fields:
Field Name | Type | Description |
---|---|---|
Extension | PlainText_NonNull | The image's extension. |
FileName | Filename | The image's file name. |
IsPublic | Boolean | Boolean flag which when true indicates that the image is public. |
OrigHeight | NonNegativeInteger | The image's original height. |
OrigWidth | NonNegativeInteger | The image's original width. |
ServerURL | PlainText_NonNull | The object's server URL. |
Size | NonNegativeInteger | The image's size in bytes. |
Version | PositiveInteger | The image's version number. |
Arguments:
Name | Type | Required | Description |
---|---|---|---|
imageID | ImageID | Required | The image's ID. |
Context:
License Requirements | None |
Permission Requirements | ContributorOrServerCode |
Deny Context | None |
Require Context | None |
Author Lock | (not required) |
Transaction Logging | Transaction logging is disabled for this method |
Customization | This method may be customized at the site level |
Error Codes:
Code | Error Message |
---|---|
24504 | You cannot view information for a private image. |
Notes:
None