-
- 3 Posts
Hi!
i set up a multi-context / multilingual site using Babel Plugin. Right now I have two contexts:
en.mydomain.com -> english version
www.mydomain.stilltesting.com -> german version
Switching context / language works perfectly and everything is loaded as it should. Except images.
In the german version all image-paths start with /uploads/myimage.png as set in the media source setttings. In the english context the image paths do not contain the prefix: myimage.png
Can anyone give me a hint? I'm running out of ideas here...
Thanks a lot for your help!
Cheers,
Sean
Any solution found here? I am having the same issue..
Benjamin Davis: American web designer living in Munich, Germany and a MODX Ambassador. I am also co-founder of SEDA.digital, a MODX Agency.
Thanks for this. Were you able to use your media source in the non "web" contexts? I am having the problem in the manager that in the second context that all of my image tv's do not use the media source...
Benjamin Davis: American web designer living in Munich, Germany and a MODX Ambassador. I am also co-founder of SEDA.digital, a MODX Agency.
I found the problem. I created the new context and after I created my TVs.. so in the media resources section of the TV, I needed to set the media resource with the new context as listed there.
Benjamin Davis: American web designer living in Munich, Germany and a MODX Ambassador. I am also co-founder of SEDA.digital, a MODX Agency.
-
- 44 Posts
Just had a similar Problem, with a newly created media source for a multiple context modx setup.
After simply switching the TVs to the new media source (you have to assign the TV to the media source for each context in the TV configuration tab 'media sources') there where no correct paths in the frontend because the baseUrl/basePath was missing.
Then I found out, that I have to process the TVs. After that everything is working as expected.