You are not logged in.
I've setup a content management system for all of my customers who I host websites for. My CMS is on my own website, ex. webhost.com.
My problem is this: In the customer's html code, if they use a relative path location, say, "/images/top.jpg", when the image loads in Xinha it's relative path is my website, webhost.com. So the image loads as "http://webhost.com/images/top.jpg". What I want to be able to do is change that default image location if it's a relative path to their own site, say customersite1.com, so that the image, while being EDITED in Xinha, loads as "http://customersite1.com/images/top.jpg". This way the images won't load as broken images while editing their content.
Is there somewhere in the source code I could change this? Say while the image is being drawn in Xinha, just append my path to the front of the .src for the image being loaded?
Thanks in advance!
Offline
Well, I find it also a problem. It seems that prepending /data/preview/ before url in src tag would do
for me.
I use bricoalge.
Offline