views:

432

answers:

2

OK, I'm using the following:

TinyMCE, CodeIgniter, and the TinyMCE Ajax File Manager. I can upload correctly and it looks pretty good. However, when I view the HTML (from TinyMCE), this is what I get.

<img src="../../../data/page/verde_enfemera.jpg" alt="" />

What I need to be getting is the following:

<img src="http://localhost/http/data/page/verde_enfemera.jpg" alt="" />

Can someone help?

EDIT: I changed the code in the HTML editor of Tinymce, then I saved it. When I re-opened it, the code was reverted back to the original "../.../../data", etc. please, help, someone.

A: 

Change the "relative_urls : true" to "relative_urls : false" under the options for tinymce. I'm a dummy.

lucha libre
+1  A: 

insert convert_urls : false

hume