I have assigned media sources for imageTV in Revo 2.2.0 (localhost, MAMP), but MODX doesn't append base url to images in HTML output.
I have two contexts, web and en, so in the first context image is visible, but in another context not, because of not adding assets absolute path.
If (editing TV in resource) I add base_url manually, image becomes visible. How to make that working, not to add
there every time? By the way, if in media source basePath and baseUrl is assets/, MODX also doesn't append full path to image. I've set this to / otherwise I should add base_url also in web context. Please, any advice, how to solve that!
....after hours trying to find solution now is possible to add images in both contexts, but only through default Media Source: Filesystem, basePath and baseUrl is set to /. Images are displayed but in HTML output are two slashes (like here:
https://forums.modx.com/thread/45779/image-file-path-adding-two-slashes-works-but-weird): <img src="/www.mysite.com//assets/components/iamges/imagejpg" alt="" />
Bug?
[ed. note: oranged last edited this post 14 years, 7 months ago.]