code: protected CmsImageScaler getImageScaler() {
  
          if (m_imageScaler == null) {
              // not initialized, create image scaler with default settings
              m_imageScaler = new CmsImageScaler();
              m_imageScaler.setWidth(THUMB_WIDTH);
              m_imageScaler.setHeight(THUMB_HEIGHT);
              m_imageScaler.setRenderMode(Simapi.RENDER_SPEED);
              m_imageScaler.setColor(new Color(0, 0, 0));
              m_imageScaler.setType(1);
          }
          return m_imageScaler;
      }
docs: Returns the initialized image scaler object used to generate thumbnails for the dialog form.<p>
  
  @return the initialized image scaler object used to generate thumbnails for the dialog form