code: public String getSrcUrl() {
  
          String imageSrc = getCmsObject().getSitePath(getResource());
          if ((getScaler() != null) && getScaler().isValid()) {
              // now append the scaler parameters if required
              imageSrc += getScaler().toRequestParam();
          }
          return OpenCms.getLinkManager().substituteLink(getCmsObject(), imageSrc);
      }
docs: Returns the image URL that may be used in img or picture tags.<p>
  
  @return the image URL