code: public void fillContent(CmsImageInfoBean imageInfo, CmsJSONMap imageAttributes, boolean initialFill) {
  
          m_initialImageAttributes = imageAttributes;
          for (Entry<Attribute, I_CmsFormWidget> entry : m_fields.entrySet()) {
              String val = imageAttributes.getString(entry.getKey().name());
              if (CmsStringUtil.isNotEmptyOrWhitespaceOnly(val)) {
                  entry.getValue().setFormValueAsString(val);
              } else {
                  if (entry.getKey() == Attribute.alt) {
                      entry.getValue().setFormValueAsString(
                          imageInfo.getProperties().get(CmsClientProperty.PROPERTY_TITLE));
                  }
                  if (entry.getKey() == Attribute.copyright) {
                      entry.getValue().setFormValueAsString(imageInfo.getCopyright());
                  }
                  if (initialFill && (entry.getKey() == Attribute.align)) {
                      entry.getValue().setFormValueAsString("left");
                  }
              }
          }
      }
docs: Displays the provided image information.<p>
  
  @param imageInfo the image information
  @param imageAttributes the image attributes
  @param initialFill flag to indicate that a new image has been selected