When i add images via tinymce content editor I am being the shown the absolute URL in the Image URL section.
The problem is that the absoulte URL doesn’t not seem to work i.e the image does not show. If however I delte everythign and start the url at /assets/images/imagename.jpg then it works fine, until i try to edit the page again, when the editor then changes the URL to absolute again.
Any ideas on this one?
The site is at
www.uttingsinsurance.co.uk
Thanks
I had this problem. To remedy it I went to the manager, then Manage resources, Plugins, TinyMCE, Configuration, then set "path options" to rootrelaticve, not docrelative.
Hope that helps
Hi C-M,
I had the same problem after restoring the Database from other web hosting and re-configuring MODx in the new web hosting. Tried this, it might solve your problem:
From "Tools >> Configuration >> Interface & Features tab >> Resource path":
- Change the path to full path i.e. root/my_domain_user_id/public_html/MODx_installed_folder/assets/"
** In my case as after I restoring the database the _SERVER["DOCUMENT_ROOT"] has changed to "root/my_domain_user_id/public_html"
** Your can check the Resource path by checking _SERVER["DOCUMENT_ROOT"] from "Report >> System Info >> phpinfo() by clickng the View link >> scroll down until you see PHP Variables"
From "Tools >> Configuration >> Interface & Features tab >> Resource URL":
- Change to "/MODx_installed_folder/assets/"
** Make sure you include "/" in the path
.. Wayne.
-
☆ A M B ☆
- 24,524 Posts
It determines if the path will be relative to the site root, or to the index.php document (which may or may not work out to be the same thing)