ImageGallery.deleteSize (Method)
Deletes the specified image gallery size specifications.
Returns:
Void
Arguments:
Name | Type | Required | Description |
---|---|---|---|
id | ImageGalleryID | Required | ID of an image gallery from which to delete the size specification. |
sizeID | ImageGallerySizeID | Required | ID of an image gallery size specification to delete. |
Context:
License Requirements | (none) |
Permission Requirements | imageGallery:Admin |
Deny Context | (none) |
Require Context | AuthoringEnabled |
Author Lock | (not required) |
Transaction Logging | If transaction logging is enabled at the site level, calls to this method will be logged |
Customization | This method may be customized at the site level |
Error Codes:
Code | Error Message |
---|---|
89504 | GalleryID and sizeID provided do not correspond with each other. |
89507 | CommonSpot cannot delete the specified size as it is the largest size specified for the image gallery. |
Notes:
None