code: private static String getFullImagePath(String imgSrc, BinaryResourcesHandler binaryRsHandler,
  			HttpServletRequest request) {
  
  		String contextPath = request.getContextPath();
  		// relative path
  		if (!binaryRsHandler.getConfig().getGeneratorRegistry().isGeneratedBinaryResource(imgSrc)
  				&& !imgSrc.startsWith("/")) {
  			imgSrc = PathNormalizer.concatWebPath(request.getRequestURI(), imgSrc);
  			int idx = imgSrc.indexOf(contextPath);
  			if (idx > -1) {
  				imgSrc = imgSrc.substring(idx + contextPath.length());
  			}
  		}
  		return imgSrc;
  	}
docs: Returns the full image path to handle the relative path
  
  @param imgSrc
  the image source path
  @param binaryRsHandler
  the binary resource handler
  @param request
  the request
  @return the full image path