code: protected static CmsInfoButton getImageStatisticButton() {
  
          long size = 0L;
          if (new File(CmsImageLoader.getImageRepositoryPath()).exists()) {
              size = FileUtils.sizeOfDirectory(new File(CmsImageLoader.getImageRepositoryPath()));
          }
  
          Map<String, String> infoMap = new LinkedHashMap<String, String>();
  
          infoMap.put(
              CmsVaadinUtils.getMessageText(Messages.GUI_CACHE_IMAGECACHE_LABEL_MEMORY_BLOCK_0),
              CmsFileUtil.formatFilesize(size, A_CmsUI.getCmsObject().getRequestContext().getLocale()));
  
          CmsInfoButton info = new CmsInfoButton(infoMap);
  
          info.setWindowCaption(CmsVaadinUtils.getMessageText(Messages.GUI_CACHE_IMAGE_0));
          info.setDescription(CmsVaadinUtils.getMessageText(Messages.GUI_CACHE_IMAGE_0));
          return info;
      }
docs: Creates in info button for image cache statistics.<p>
  
  @return CmsInfoButton