code: public String getFormat(CmsObject cms) {
  
          if (m_format == null) {
              if (m_element.element(PARAM_FORMAT) != null) {
                  m_format = m_element.element(PARAM_FORMAT).getText();
              }
              if (CmsStringUtil.isEmptyOrWhitespaceOnly(m_format)) {
                  m_format = getParameterValue(cms, PARAM_FORMAT);
              }
          }
          return m_format;
      }
docs: Returns the format information of the image.<p>
  
  @param cms the current users context
  @return the format information of the image or an empty String