Page 1 of 1

Please suggest me solution to image/link upload in editor???

Posted: Sat Mar 14, 2009 2:13 am
by rasmita
I have been working on cms for a site, where I have used an editor. Here there is a option for image upload through the editor, where it must take a relative path such as /testfiles(foldername)/filename.jpg but unfortunately it is taking an absolute path such as http://74.35.24.18(hostname)/~sitename/test/filename.jpg.It is happening same for links/url to be uploaded from the server.

My Question is : Is this problem is for site url where "~" is used because I have changed the configue of the editor but no change, the problem is the same for image/link upload in the editor. Please suggest me any solution for this problem.

Editor used is Fckeditor....

Re: Please suggest me solution to image/link upload in editor???

Posted: Sat Mar 14, 2009 12:44 pm
by LanceEh
Can you edit it manually.

Change the <img src=" to whatever you need?

Note: By the way, this isn't a PHP question.

Take care.