code: public static void setImage(String path, Map<String, String> attributes) {
  
          CmsJSONMap attributesJS = CmsJSONMap.createJSONMap();
          for (Entry<String, String> entry : attributes.entrySet()) {
              attributesJS.put(entry.getKey(), entry.getValue());
          }
          nativeSetImage(path, attributesJS);
      }
docs: Sets the image tag within the rich text editor (FCKEditor, CKEditor, ...).<p>
  
  @param path the image path
  @param attributes the image tag attributes