close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

HTML Editor 3, no image preview in editor

Thread began 1/24/2011 8:42 pm by joshua.bridge413401 | Last modified 2/01/2011 9:08 am by Willi Schneider | 4779 views | 15 replies |

joshua.bridge413401

HTML Editor 3, no image preview in editor

I have inserted the html form inside of a directory called admin, the image folder is up one level in a folder called images.

the source in the admin editor should be src="../images/filename.jpg" however it is not going up the directory instead it is using src="images/filename.jpg"

I realize that this is probably just a simple setting, but I cannot seem to find it.
Please advise.

~J

Sign in to reply to this post

neilo

Hiya,

Check line 20 of your webassist/kfm/configuration.php file. According to the structure you have described, I think it should look like:

$kfm_userfiles_output = '../images/';

My 'Site Settings' consistently puts in the wrong path too.

Sign in to reply to this post

Ray BorduinWebAssist

I will try to reproduce this problem and get a fix into the next dot release.

Sign in to reply to this post
Did this help? Tips are appreciated...

joshua.bridge413401

That works for the editor, but then when the page is displayed it is not showing, as it doesn't need to go up a level where the page resides.
I can do a quick string replace when processing the form, but it seems that the old version automatically handled the path.

Sign in to reply to this post

Ray BorduinWebAssist

In that same file, in the line above the one you changed, you will have to update that to be the root relative path the the same location... so probably "/images/"

Sign in to reply to this post
Did this help? Tips are appreciated...

bjgarner241692

My config file had the same issue.
In addition, it lacked the closing ?>

Sign in to reply to this post

Ray BorduinWebAssist

The closing ?> isn't usually necessary, but I'll add it for the next update. I'll be looking into the bad path issue and try to reproduce and resolve that as well.

Sign in to reply to this post
Did this help? Tips are appreciated...

bjgarner241692

Not necessary but it shows an error in DW.

Which of these two lines refers to the path in the Admin page?

$kfm_userfiles_address = '../../resources';
$kfm_userfiles_output = 'resources/';

My public page displays fine, but the image cannot be seen in the editor or on the Admin detail page.

Sign in to reply to this post

Ray BorduinWebAssist

You need to update the second line to a site root relative path... so probably it should be:

$kfm_userfiles_output = '/resources/';

if your site structure is resources/

We will be putting out an update in the next couple of days to address this issue.

Sign in to reply to this post
Did this help? Tips are appreciated...

this_is_me

same here

Interesting is that if I put a link into the text area and add (as an example) a pdf file, it links correctly. The pictures don't.

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