ImageGallery.createAlternateSize (Method)

Method to create alternate image for a provided imageID and sizeID.

Returns:

Void

Arguments:

Name Type Required Description
imageID ImageID Required ID of an image for which to create the alternate size image.
sizeID ImageGallerySizeID Required ID of the image gallery size specification.

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