I have two projects:
- relaunch.company.de
- redesign.company.de (clone from relaunch.company.de)
Note: The base url of both projects is set to their pub
directory.
I want to setup redesign.company.de
to make it load images from relaunch.company.de
so that I don't always have to upload the media to both projects.
So In redesign.company.de
I added the URL https://relaunch.company.de/media/
to
Stores -> Settings: Configuration -> General -> Base Url's -> Base URL for User Media Files
and to
Stores -> Settings: Configuration -> General -> Base Url's (Secure) -> Base URL for User Media Files
Then I flushed the cache.
But there are almost no images loaded in redesign.company.de
So I compared the same product on both servers and inspected the image urls.
On relaunch.company.de I get:
https://relaunch.company.de/media/catalog/product/cache/1d080bca42fb631e749cc3891d555069/h/a/handschuh-pu-feinstrick-6618.jpg
and on redesign.company.de I get:
https://relaunch.company.de/media/catalog/product/cache/183b11492b2e7b20f5c77f31599df17c/h/a/handschuh-pu-feinstrick_6618.jpg
As you can see the cache keys are different.
I also cant upload new images, it just looks like this:
and the images does not get loaded in the frontend either.