code: protected List<CmsResource> getResources() {
  
          List<CmsResource> result = Collections.emptyList();
          // get all image resources of the folder
          CmsResourceFilter filter = CmsResourceFilter.DEFAULT;
          try {
              CmsObject cms = getCms();
              result = cms.readResources(getParamResource(), filter, false);
  
          } catch (CmsException e) {
              // log, should never happen
              if (LOG.isErrorEnabled()) {
                  LOG.error(e.getLocalizedMessage(getLocale()));
              }
          }
          return result;
      }
docs: Returns the image resources of the gallery folder which are edited in the dialog form.
  <p>
  
  @return the images of the gallery folder which are edited in the dialog form