image method

CldImage image(
  1. String publicId
)

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;
}