docs: public void fillContent(CmsImageInfoBean imageInfo) {
  
          //checking for enhanced image options
          m_form.hideEnhancedOptions(
              (getDialogMode() != GalleryMode.editor) || !CmsPreviewUtil.hasEnhancedImageOptions());
          CmsJSONMap imageAttributes = CmsPreviewUtil.getImageAttributes();
          boolean inititalFill = false;
          // checking if selected image resource is the same as previewed resource
          if ((imageAttributes.containsKey(Attribute.emptySelection.name()))
              || (imageAttributes.containsKey(Attribute.hash.name())
                  && !imageAttributes.getString(Attribute.hash.name()).equals(
                      String.valueOf(m_handler.getImageIdHash())))) {
              imageAttributes = CmsJSONMap.createJSONMap();
              inititalFill = true;
          }
          m_form.fillContent(imageInfo, imageAttributes, inititalFill);
      }