Good morning people. Everything Ok?
I’m here with a image paths problem on Yii, I believe that part of it is the way that Yii treats and another is the way that Yii assembles Docker. I’m using the Advanced template.
I’ve tried using the Yii alias and it doesn’t work. I already played the image dir in common/web, backend/web and nothing. I got with alias. I tried relative path at all the only way it worked and it doesn’t work for me was to call localhost:port/path.
This does not serve me since I only use dobker locally. In production it is a standard server. The problem is the when i want show an image and upload of images that have to work both locally and in production in the same way.
I no longer know what to do to solve.
Thanks in advance