Hello all,
I have an ModX 1.0.0 installation up and running. The images in the templates all work well (added them with [(base_url)] and then their location. I can also add images to the document that is the root of the website, so the home page. But then I try to add another document and add some pictures into it through the TinyMCE. The appear correctly in the editor but they have the wrong path on the front end of the website, so they don’t show.
I tried to change the configuration of the TinyMCE so that the path is Full Path URL but when I do that they images don’t appear in the editor (they do in the "image add" function of Tiny MCE) and they still have the wrong path on the page.
What I want to do is to let the system automatically add [(base_url)] to all image paths so that it’s always correct. The reason I want to do that is because the editor now shows the path relatively.
Example:
www.website.com ---> image path: /assets/images/image1.jpg
www.website.com/directory ---> image path: assets/images/image1.jpg (image can’t be found)
So I know why there is no image, just don’t know how to fix it. Adding [(base_url)] would fix it I guess...
Any help is very much appreciated!