Hi all:
I have a page created that has a RadEditor on it, with ImageManager enabled. When a user finds the image they want to insert, it pulls the site name along with the file path. Here are my settings for the editor:
This works fine as the user is directed to this folder. On insert, however, the src to the image holds details further back like this:
<img alt="" src="/mysite/i/Atlas_48.png" />
Is there a way to NOT have the '/mysite/' show up? I have this on a test server, and when I push it live my site name usually changes (ex. mysitedev turns to mysite), so I need to do a mass update with find and replace. I'm guessing I'm missing something. Any help is greatly appreciated.
Thanks,
TL
I have a page created that has a RadEditor on it, with ImageManager enabled. When a user finds the image they want to insert, it pulls the site name along with the file path. Here are my settings for the editor:
myEditor.ImageManager.ViewPaths =
New String() {"~/i"}
This works fine as the user is directed to this folder. On insert, however, the src to the image holds details further back like this:
<img alt="" src="/mysite/i/Atlas_48.png" />
Is there a way to NOT have the '/mysite/' show up? I have this on a test server, and when I push it live my site name usually changes (ex. mysitedev turns to mysite), so I need to do a mass update with find and replace. I'm guessing I'm missing something. Any help is greatly appreciated.
Thanks,
TL