close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

absolute path for images

Thread began 5/05/2010 4:37 am by 27100169 | Last modified 5/05/2010 2:54 pm by Jason Byrnes | 919 views | 5 replies |

27100169

absolute path for images

I wish the pictures that I insert HTML editors have an absolute path.

I read this: showthread.php?t=10817 and so I changed the file HTMLEditor\editor\filemanager\connectors\php\config.php like this:


// Path to user files relative to the document root.
$Config['UserFilesPath'] = 'http://www.2727.eu/dbase/';
$Config['UserFilesPath'] = $EditorAssumedRoot.$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'] = '/workdisk/home/web/000139-2/www.2727.eu/htdocs/dbase' ;
if (isset($_SERVER['APPL_PHYSICAL_PATH'])) {
$Config['UserFilesAbsolutePath'] = str_replace("\\","/",$_SERVER['APPL_PHYSICAL_PATH']) . substr($Config['UserFilesPath'],1);
}

with these changes, however, the images still have a relative path.

sorry for my english

Sign in to reply to this post

Jason ByrnesWebAssist

changes to the javascript files often are not picked up by the browser very quickly.


you may need to clear the browsers cache to force it to see the new javascript changes and use them.

Sign in to reply to this post

27100169

I clear the browsers cache in Internet Explorer, I also installed Google Chrome to try a different browser, but the result is the same.

Sign in to reply to this post

Jason ByrnesWebAssist

try changeing:
$Config['UserFilesPath'] = 'http://www.2727.eu/dbase/';
$Config['UserFilesPath'] = $EditorAssumedRoot.$Config['UserFilesPath'];


to:
$Config['UserFilesPath'] = 'http://www.2727.eu/dbase/';

Sign in to reply to this post

27100169

I tried this:

$Config['UserFilesPath'] = 'http://www.2727.eu/dbase/';
//$Config['UserFilesPath'] = $EditorAssumedRoot.$Config['UserFilesPath'];

but the path is not absolute; of course, before I deleted the browser cache

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

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

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