Where are the image paths stored and what do they look like?
And what version of MODX are you running?
Quote from: BobRay at Nov 10, 2014, 08:11 PMWhere are the image paths stored and what do they look like?
I'm trying to find out what this means: "in the editor the path of images are stay with the subfolder path."
In what editor?
What do the image paths look like in the editor (paste one here)?
Do you have this tag in the head section of all templates? (you should).
<base href="[[++site_url]]" />
In the back and editor, editor is redactor. The front end base path is right.
Quote from: BobRay at Nov 11, 2014, 10:48 AM
What do the image paths look like in the editor (paste one here)?
The path is /old_subpath/assets/images/myfile.jpg
If the full paths are hard-coded in the editor, you'll have to change them all by hand unless you create a plugin connected to OnWebPagePrerender.
Try changing one to just /assets/images/myfile.jpg. If that works, I'd change them all with a utility snippet. That way they'll work on any server without changes.