Hello,
I have this mark up in my code.
The client is able to select an image and store it to the database. The link that is stored is <img alt="" src="/ihs201/Images/Help/Editor/underline.jpg" />. This is fine when I am in my development server. But when I deploy my web pages to a different server I do not want the "/ihs201" in my link. If the virtual directory name is different then "ihs201" then the images link breaks. I would rather my link was <img alt="" src="../Images/Help/Editor/underline.jpg" /> . This link would enable me to access the image in other server with different name. How do I achieve something like that.
Thank you,
Kalyani
I have this mark up in my code.
<
tlrk:RadEditor
ID
=
"D0_RadArticle"
runat
=
"server"
Width
=
"680px"
Height
=
"376px"
ToolsFile
=
"~/XML/Editor/HelpEditor.xml"
ImageManager-ViewPaths
=
"~/Images/Help"
AnchorPathToStrip
=
"ihs201"
StripAbsoluteAnchorPaths
=
"true"
/>
The client is able to select an image and store it to the database. The link that is stored is <img alt="" src="/ihs201/Images/Help/Editor/underline.jpg" />. This is fine when I am in my development server. But when I deploy my web pages to a different server I do not want the "/ihs201" in my link. If the virtual directory name is different then "ihs201" then the images link breaks. I would rather my link was <img alt="" src="../Images/Help/Editor/underline.jpg" /> . This link would enable me to access the image in other server with different name. How do I achieve something like that.
Thank you,
Kalyani