ImageGallery.createAlternateSizes (Method)
Method to create alternate sizes for an image.
Returns:
Void
Arguments:
Name | Type | Required | Description |
---|---|---|---|
imageID | ImageID | Required | ID of an image for which to create alternate sizes. |
Context:
License Requirements | (none) |
Permission Requirements | (none) |
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. |
89518 | Cannot create image for the largest size. |
89519 | Could not find the image with the largest size, $1. |
89520 | Alternate image size dimensions provided cannot have greater dimension than the primary image size. |
Notes:
None