code: public CmsGalleryFolderBean getGalleryInfo(String galleryPath) {
  
          CmsGalleryFolderBean result = null;
          for (CmsGalleryFolderBean folderBean : getAvailableGalleries()) {
              if (folderBean.getPath().equals(galleryPath)) {
                  result = folderBean;
                  break;
              }
          }
          return result;
      }
docs: Returns the gallery folder info to the given path.<p>
  
  @param galleryPath the gallery folder path
  
  @return the gallery folder info