Forum closed. New forum available at

Wrong Relative Image path

Support forum for WYMeditor.

Wrong Relative Image path

Postby klgmedia on Tue Apr 28, 2009 4:33 pm

This is proberbly related to the usual "image path problem" that has already been discussed several times before.
I haven't found an answer..

Related: (i think)

The problem is that absolute urls is replaced with relative urls when an image is moved within the editor, But, the relative urls are wrong..

To test the "main"-problem:
1. Go to the examplepage: ... basic.html
2. Copy this image url: ... r_icon.png
3. Set the marker in the end of the "Hello world!"
4. click the "image" icon
5. paste the url
6. click submit.
(The image is now inserted with full absolute url)
7. click and drag the image to the end of the line
8. now check the source that's generated..

In this case the src becomes: "../../skins/wymeditor_icon.png", and this is the "correct relative" version. (The image still work in the editor).
In my case "" becomes "../../../../../../../../images/img.jpg" witch translates to "" ("admin/" is missing)..

I should probably mention that I've made a filebrowser in the imageDialog, but it uses the stock src input...
Posts: 3
Joined: Wed Apr 15, 2009 8:49 pm
Location: Sweden

Re: Wrong Relative Image path

Postby adamb78 on Fri May 08, 2009 5:22 pm

Posts: 5
Joined: Wed Mar 25, 2009 4:10 pm

Return to Support

Who is online

Users browsing this forum: No registered users and 1 guest