image method

CldImage image(
  1. String publicId
)
inherited

Creates a new Image instance using the current configuration instance.

Receives publicId String The public ID of the image. return CldImage

Implementation

CldImage image(String publicId) {
  CldImage image = CldImage(publicId);
  image.cloudConfig(config.cloudConfig);
  image.urlConfig(config.urlConfig);
  image.analytics(analytics);
  return image;
}