Image with relative url
I'm having the same problem, was this ever resolved?
I have a website www.site.com but have also created an admin area update/.
What I've done is create two sites in Dreamweaver (normal & admin site). The admin site has the 'HTMLeditor' folder at the root of the 'update' (update/) folder, there is also an 'images' directory here to with a subfolder called 'upload_gallery' (upload_gallery/).
When I specify the upload directory as '/images/upload_gallery' in the global settings files upload and everything works fine within file manager. When I select a file in file manager, insert it into HTML editor and update the page, that all works fine. Problem is when end user views live webpage that I have just updated, that image points to img.jpg where it should be img.jpg
The I tried changing the upload directory in the global settings to '/public_html/update/images/upload_gallery/' & '/update/images/upload_gallery/' and I now get the following error;
Warning: mkdir(../../../../update/images/upload_gallery/) [function.mkdir]: No such file or directory in /home/sites/sitename.com/public_html/update/HTMLEditor/editor/plugins/kfm/initialise.php on line 128
error: "../../../../update/images/upload_gallery/" could not be created
I have checked my directory permissions and they are correct, have even tried deleting the directory also.
Mac OS X 10.6.2
Oh one last question, do I have to keep uploading the complete HTMLeditor directory every time I change the global settings?