docs: public String buildImageInformation() {
  
          // count all image resources of the gallery folder
          int count = 0;
          try {
              int imageId = OpenCms.getResourceManager().getResourceType(
                  CmsResourceTypeImage.getStaticTypeName()).getTypeId();
              CmsResourceFilter filter = CmsResourceFilter.IGNORE_EXPIRATION.addRequireType(imageId);
              List<CmsResource> images = getCms().readResources(getParamResource(), filter, false);
              count = images.size();
          } catch (CmsException e) {
              // ignore this exception
          }
  
          Object[] args = new Object[] {getParamResource(), new Integer(count)};
          return key(Messages.GUI_RENAMEIMAGES_INFO_IMAGECOUNT_2, args);
      }