We have a matrix installation on a virtual machine that we are moving between a staging and a test environment.
Every time we move it we have to update the main.inc file etc to ensure the correctness of the URLs. Being very new to matrix I only cottoned on to the fact that we need to also change the URL settings on things like the designs and the _media etc folders.
When I did this something happened to all my images, which were happily displaying on the front end of the website in both environments, were suddenly not showing.
On investigation the images now have a new URL which doubles the URL setting for the _media directory. (e.g. http://10.10.0.106/http://10.10.0.106/__data/assets/image/0011/218/topImageStrip.jpg)
Is there some simple way of removing this second http://10.10.0.106/http://10.10.0.106/__data/assets/image/0011/218/topImageStrip.jpg) section?
The URLs should NOT include the protocol the URLs screen. Without seeing how your sites are configured, its difficult to determine what the cause of this problem is.
[quote]The URLs should NOT include the protocol the URLs screen. Without seeing how your sites are configured, its difficult to determine what the cause of this problem is.
[right][post=“16090”]<{POST_SNAPBACK}>[/post][/right][/quote]
It is just a basic installation of 3.12 - in the URL setting we have not included the protocol information. All assets (i.e. images etc) are on the same server.
[quote]It is just a basic installation of 3.12 - in the URL setting we have not included the protocol information. All assets (i.e. images etc) are on the same server.
[right][post=“16091”]<{POST_SNAPBACK}>[/post][/right][/quote]
Woops - I think I have mis-informed you. When you click on the properties for each image it shows as [quote]http://10.10.0.106/http://10.10.0.106/__data/assets/image/0011/218/topImageStrip.jpg[/quote] but when you look at the HTML is shows as [quote]./http://10.10.0.106/__data/assets/image/0011/218/topImageStrip.jpg[/quote].
The parse file had [quote]./mysource_files/[/quote] used for all it’s image references (I think it said to do so either in docs or in template which I downloaded) - so I have replaced it with [quote]mysource_files/[/quote] and it all works fine. Sorry about the waste of time. Thanks for looking into it Avi.
Yeah, all the manuals should just have mysource_files/ – if you spot any with the ./ in front, please let us know so we can fix them.