Jeff,
I don't think you took the time to read to example I gave you. I am trying to use a custom image on my button. The image is not located in the RTE path. The image in my example was http://mysite.com/image/myimage.jpg
Please note that this was very easily done in CE 6 with C# code similar to this:
- private static void ConfigureCustomEditorButton(CE.ToolControl button, string tooltip, string imageUrl, string cssClass, string onClick)
- {
- if (button == null) return;
-
- using (var image = new Image())
- {
- image.ToolTip = tooltip;
- image.ImageUrl = imageUrl;
- image.CssClass = cssClass;
- image.Attributes["onmouseover"] = "CuteEditor_ButtonCommandOver(this)";
- image.Attributes["onmouseout"] = "CuteEditor_ButtonCommandOut(this)";
- image.Attributes["onmousedown"] = "CuteEditor_ButtonCommandDown(this)";
- image.Attributes["onmouseup"] = "CuteEditor_ButtonCommandUp(this)";
- image.Attributes["ondragstart"] = "CuteEditor_CancelEvent()";
- image.Attributes["onclick"] = onClick;
- button.Control.Controls.Add(image);
- }
- }