close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues


Absolute path for images

Thread began 2/03/2011 6:26 am by biesheuvel378713 | Last modified 2/17/2011 1:02 pm by Jason Byrnes | 1889 views | 9 replies |


Absolute path for images

I found that the html editor inserts a relative path for the images where they are created. I would think that a absolute path is more convenient since the admin pages are in a different folder then the pages on my site, maybe a good idea for the next update?

Sign in to reply to this post

Jason ByrnesWebAssist

the path that is used by HTML Editor will be relative to the site root.

Sign in to reply to this post


On a testsite the html prdouces code like src="upload/animage.jpg" instead of src="/upload/animage.jpg" so its not relative to the site root.

Sign in to reply to this post



But I think the issue with using relative to the site root is that you have no preview when you are say in a CMS folder (or any directory that is not root).

I would think it would have to put the preceding slash to establish an absolute path and that way the preview would work regardless of the directory you were using the editor in.

Best regards,


Sign in to reply to this post

Jason ByrnesWebAssist


I think we are using different terminology for the same thing

A site relative link is one that includes the forward slash, that makes it relative to the site root.

we have a beta release available to address the problem with the paths being created as document rather than site relative:

I have created a support ticket so we send you a link to the beta release, it just needs to go through some final qa testing before it will be officially released.

Sign in to reply to this post


Hi Biesheuvel, I'm also from the Netherlands, maybe we can help each other in our native language. If you think this is a good idea PM me.

Sign in to reply to this post


Use the site url

Hi everyone,

I have been having issues with the new editor aswell.

My simple solutions seemes to work fine:

1. Open kfm/configuration.php
2. Find these lines of php and duplicate them and delete or comment out the originals.
$kfm_userfiles_address = '../../userfiles';
$kfm_userfiles_output = '/userfiles/';

3. Change them to the following "userfiles is the upload path":
$kfm_userfiles_address = '../../userfiles/';
$kfm_userfiles_output = .'';

works for me!

My site has an admin folder and the template files are in the root, the upload folder is ""

Hope this helps

Sign in to reply to this post

Jason ByrnesWebAssist

Thanks for posting that.

An update will be available shortly that will correct this issue. it is currently going through our QA department.

Sign in to reply to this post



I am having a problem with this also...
Using the file uploader...

the form is located in an admin area
startup_folder:'images' <-- files exists in directory when uploaded, but not shown in file manager (but sometimes on the form itself?)

startup_folder:'pdf' <-- works pdfs download as expected.

the uploads file is located in at
I am trying to use the default dir
this directory is fine

kfm/configuration.php :
$kfm_userfiles_address = '../../uploads/';
$kfm_userfiles_output = '/uploads/';

Using this, PDF uploads are fine, but image uploads are not. The images are not visible within the kfm filemanager.

Sign in to reply to this post

Jason ByrnesWebAssist

I have created a support ticket so we can look into this issue further.

To view and edit your support ticket, please log into your support history:

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question





Ease of use


security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...