MODX Community

Images not shown in second context

I honestly don’t know. It’s possible that the MODX code will add one if it’s necessary. You could try adding one and make a quick test of whether it still works.

1 Like

The http_host is always without slash or protocol.

server_protocol + http_host + base_url == site_url

For example:

https:// + modmore.com + / == https://modmore.com
2 Likes

Thanks Mark. I was unaware of that exception to the general rule.

1 Like