docs: private void init(CmsObject cms, boolean withVariations, boolean showSize, boolean statsOnly) {
  
          File basedir = new File(CmsImageLoader.getImageRepositoryPath());
          try {
              CmsObject clonedCms = getClonedCmsObject(cms);
              visitImages(clonedCms, basedir, withVariations, showSize, statsOnly);
          } catch (CmsException e) {
              // should never happen
          }
          m_variations = Collections.unmodifiableMap(m_variations);
          m_sizes = Collections.unmodifiableMap(m_sizes);
          m_lengths = Collections.unmodifiableMap(m_lengths);
      }