hi,
when i try to upload an image and insert it in WYSIWYG editor, FCKEditro adds code like
<img alt="" src="/userfiles/image/1.jpg" />
I want to change it so that it adds complete path instead of root path i.e
<img alt="" src="http://www.mysite.com/userfiles/image/1.jpg" />
What should I do for this ??
Thanks
- Riz
http://www.DotRiz.com
Re: adding complete path after inserting image
Re: adding complete path after inserting image
I have been looking at the config.php file in fckeditor/editor/filemanager/connectors/php where you can set a path but it just does not work for me as it tries to creat a directory even though I have already created one.
// Path to user files relative to the document root.
$Config['UserFilesPath'] = '' ;
// Fill the following value it you prefer to specify the absolute path for the
// user files directory. Useful if you are using a virtual directory, symbolic
// link or alias. Examples: 'C:\\MySite\\userfiles\\' or '/root/mysite/userfiles/'.
// Attention: The above 'UserFilesPath' must point to the same directory.
$Config['UserFilesAbsolutePath'] = '' ;
I have tried everything.
Nick