at first: frederico, what a terrific piece of code! thanks for releasing it into the free software community!
my question: when I use the image upload to upload a file to my web server and switch into the editors source code view, everything looks fine and image links are display with an absolute path (/userimages/myfile.gif) but without a host/domain in front.
now, after i submit the form somehow the host/domain is mangled into all image paths and i get http://www.mydomain.com/userimages/myfile.gif
is there a way to prevent this? often i use the fckeditor locally but want be able to sync the database to a live server which does not work if local host names are in the image paths.
any help? is it the fckeditor which adds the hostname?
thanks,
rincey
Fri, 07/04/2003 - 11:05
#1
RE: host/domain added to image path after submit
RE: host/domain added to image path after submit
There is nothing you can do about this because the MSHTML component handles this, what you can do is do a search and replace on opening your code, and on saving it, or either. Therefore removing the http://yourdomain.