I have a project where the administration of a site takes place in a separate application. So I have one database which stores content, and two different apps - a user site which displays content, and an admin site, which lets you edit the content. They are not sub-folders of each other. Each has its own URL, and different folder under IIS. Aside from sharing the DB, they also share the physical drive.
I need to implement the RadEditor in the admin site, and while analyzing the requirements, came across the following:
1 - Image upload dialog needs to point to the images folder of the user site. In the RadEditor properties, I only see a way to set local paths for images ("~/images"). Is there a way to specify a physical folder path, or point it to a full URL (http://myusersite.com/images/)?
2 - I need to make sure that images show up correctly in the editor - does this mean I need to supply a base url? If so, how? Is there any way to keep the content relative, while letting the editor make it absolute for editing sake? Meaning, in the content I have <img src="images/mypic.gif" />, but the editor is smart enough to load the image using http://myusersite.com/images/mypic.gif, but then save the relative path to the database?
Any help is greatly appreciated!
Thanks,
Alex
I need to implement the RadEditor in the admin site, and while analyzing the requirements, came across the following:
1 - Image upload dialog needs to point to the images folder of the user site. In the RadEditor properties, I only see a way to set local paths for images ("~/images"). Is there a way to specify a physical folder path, or point it to a full URL (http://myusersite.com/images/)?
2 - I need to make sure that images show up correctly in the editor - does this mean I need to supply a base url? If so, how? Is there any way to keep the content relative, while letting the editor make it absolute for editing sake? Meaning, in the content I have <img src="images/mypic.gif" />, but the editor is smart enough to load the image using http://myusersite.com/images/mypic.gif, but then save the relative path to the database?
Any help is greatly appreciated!
Thanks,
Alex