code: protected List<CmsResource> getImages() {
  
          // get all image resources of the folder
          int imageId;
          try {
              imageId = OpenCms.getResourceManager().getResourceType(
                  CmsResourceTypeImage.getStaticTypeName()).getTypeId();
          } catch (CmsLoaderException e1) {
              // should really never happen
              LOG.warn(e1.getLocalizedMessage(), e1);
              imageId = CmsResourceTypeImage.getStaticTypeId();
          }
          CmsResourceFilter filter = CmsResourceFilter.IGNORE_EXPIRATION.addRequireType(imageId);
          try {
              return getCms().readResources(getParamResource(), filter, false);
          } catch (CmsException e) {
              // log, should never happen
              if (LOG.isErrorEnabled()) {
                  LOG.error(e.getLocalizedMessage(getLocale()));
              }
              return Collections.emptyList();
          }
      }
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