Gets the image with the specified name.

<void> ImageCollection.getItemByName(<RequestImageCallback> callback, [<ErrorCallback> errorCallback], <string> name)

Parameters

Parameter Description
callback Receives the requested image or null if no image with the specified name exists.
errorCallback Optional. Is called when the operation failed with an error.
name The image's name.