ClientConfig doesn't show full URL from Media Source

I have a media source for images pointing to /assets/images/ and then a field setup in the ClientConfig using that media source. When populated the field in ClientConfig shows something like logo.png.

However when I use the ClientConfig variable [[++image]] in a template it returns the truncated file URL of just /logo.png instead of assets/images/logo.png.

Am I missing a setting to get this to work right?

To answer my own question.

I needed to set the baseURL field in the Media Source (which I did before posting the question in the forums), but then I needed to go back into the page that was using that template with the ClientConfig variable and resave it to update the cache.

Sometimes that cache can get you when troubleshooting.

1 Like