code: public void fillContent(CmsImageInfoBean imageInfo) {
  
          String viewLink = imageInfo.getViewLink() != null
          ? imageInfo.getViewLink()
          : CmsCoreProvider.get().link(imageInfo.getResourcePath());
          CmsCroppingDialog croppingDialog = new CmsCroppingDialog(viewLink);
          m_handler.getGalleryDialog().getParentPanel().add(croppingDialog);
          CmsImageFormatHandler formatHandler = new CmsImageFormatHandler(
              getDialogMode(),
              m_handler.getGalleryDialog(),
              imageInfo.getSelectedPath(),
              imageInfo.getHeight(),
              imageInfo.getWidth());
          CmsImageFormatsForm formatsForm = new CmsImageFormatsForm(formatHandler);
          formatHandler.init(formatsForm, croppingDialog);
          m_handler.setFormatHandler(formatHandler);
          m_content.clear();
          m_content.add(formatsForm);
      }
docs: Displays the provided image information.<p>
  
  @param imageInfo the image information