close ad
WARNING PC USERS: Do Not Install the DREAMWEAVER CC 2017 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Absolute path for images

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

biesheuvel378713

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

biesheuvel378713

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

anonymous

Jason,

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,

Brian

Sign in to reply to this post

Jason ByrnesWebAssist

Brian,

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

henk303241

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

keith377536

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 = .'http://www.website.com/userfiles/';

works for me!

My site has an admin folder and the template files are in the root, the upload folder is "http://www.website.com/userfiles/"

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

joshua.bridge413401

trouble.

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

the form is located in an admin area mysite.com/admin/form.php
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 mysite.com/uploads
I am trying to use the default dir mysite.com/uploads/images
this directory is fine mysite.com/uploads/pdfs


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:
supporthistory.php

Sign in to reply to this post
loading

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

Content

rating

Layout

rating

Ease of use

rating

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...