Image (Component)
Methods:
changeOwner | Changes an image's owner. |
createFromData | Create a base64 representation of an image and assigns it the attributes contained within this method's arguments. |
createNewVersionFromData | Creates a new version of a base64 image representation and assigns it the attributes contained within this method's arguments. |
delete | Deletes an image. |
exists | Returns true if the image exists with the specified image ID, false otherwise. |
getBase64DataForImageURL | Method to get base 64 data for a provided image URL. |
getImageSizePaths | Method to get the paths to images of all sizes for a particular image. |
getInfo | Returns a structure containing general (and considerable) information about an image. |
getMoveToGalleryConflicts | Method to get the conflicts reasons for moving images from one gallery to another. |
getOwnerID | Returns an image owner's user or group ID. |
getReferringObjects | Returns zero or more structures, each containing information on elements that refer to this image. This method's arguments limit the amount of information CommonSpot returns. |
getReferringObjectsCount | Returns the number of objects referring to this image. This number only includes the objects that are identified by this method's arguments. |
getSubsiteID | Returns the ID of the subsite in which the image resides. |
getVersionList | Returns one or more structures, each containing information about an image's versions; for example, the image's description, file name, version time stamp, and so on. |
makeVersionCurrent | Makes the specified version the image's active version. |
move | Moves an image to the current subsite. |
moveToGallery | Method to move images from one gallery to another. |
saveInfo | Updates standard metadata for the specified image. |