Hi again,
I have a new challenge: Adding an icon to the plug-in I created. (The plugin now works excellent thanks to Marcus)
Now, I want to just add a png file for an icon but when I do this in my Tool:
protected override void OnInit(EventArgs e) { base.OnInit(e); this.IconBase = EPiServer.UriSupport.SiteUrl.ToString() + "/Plugin/eye.png"; }
But the result in the URL to the image is the following:
http://localhost:6666/EPiPlugin/App_Themes/Default/Images/editor/http://localhost:6666/EPiPlugin//Plugin/eye_over.png
IOW for some reason it seems to stick http...images/editor in front of the iconbase. Is there some way to circumvent this or are we stuck to using that directory?
Thanks in advance for any reply,
Vincent
Hi again,
I have a new challenge: Adding an icon to the plug-in I created. (The plugin now works excellent thanks to Marcus)
Now, I want to just add a png file for an icon but when I do this in my Tool:
But the result in the URL to the image is the following:
http://localhost:6666/EPiPlugin/App_Themes/Default/Images/editor/http://localhost:6666/EPiPlugin//Plugin/eye_over.png
IOW for some reason it seems to stick http...images/editor in front of the iconbase. Is there some way to circumvent this or are we stuck to using that directory?
Thanks in advance for any reply,
Vincent