Multilingual site Image+ file paths not working

I’m creating a mutlilingual site with Babel and XRouting, managing two different languages.
I also use the Image+ extra for any images my client is interacting with.

I’m trying to output an Image+ TV (within a migx tv) like in this chunk:

<img src="[[ImagePlus? &value=`[[+img]]` &options=`w=300`]]">

Unfortunately though, the image is not showing because the context key is added before the file path.

I’ve tried setting baseUrl to the absolute path /images/ and the baseUrlRelative to No in the media source settings, but without success.

Is there something sepcific I have to do or is the Image+ extra working against me here?

MODX 2.8.3-pl
Babel 3.1.0-pl
XRouting 1.4.1-pl
Image+ 2.8.3-pl

It seems that the image url is not generated by Image+ but by the snippet it uses to generate the thumbnail image. The snippet that is used depends on what is installed on your installation.

If phpthumbof is used then maybe you can try changing the system setting phpthumbof.cache_url to avoid that the base_url is added to the image url.

1 Like

This topic was automatically closed 2 days after discussion ended and a solution was marked. New replies are no longer allowed. You can open a new topic by clicking the link icon below the original post or solution and selecting “+ New Topic”.