code: protected CmsJspImageBean createVariation(CmsImageScaler targetScaler) {
  
          CmsJspImageBean result = new CmsJspImageBean();
  
          result.setCmsObject(getCmsObject());
          result.setResource(getCmsObject(), getResource());
          result.setOriginalScaler(getOriginalScaler());
          result.setBaseScaler(getBaseScaler());
          result.setVfsUri(getVfsUri());
          result.setScaler(targetScaler);
          result.setQuality(getQuality());
  
          return result;
      }
docs: Returns a variation of the current image scaled with the given scaler.<p>
  
  It is always the original image which is used as a base, never a scaled version.
  So for example if the image has been cropped by the user, the cropping are is ignored.<p>
  
  @param targetScaler contains the information about how to scale the image
  
  @return a variation of the current image scaled with the given scaler