I have a problem here, that I can not seem to fix without any help here. Looking all over the web for an answer, but can’t seem to find a good one that works.
Here is my problem:
I have an advanced template that I am using for my project. In this project I have images that I want to use in both the frontend and backend. However, I want to available in one location where both the frontend and backend can access it. How do I do this?
I have been trying for a day now using assets, etc… but I can not simple lood the image from one folder in both frontend and backend. I am starting to get a little frustrated now. This really should not be to hard should it?
How can help me out with an example on how to do this.
I have the same problem with the captcha image, it works only in the frontend but not in the backend. An answer on your question will probably help me as well.
Thanks for the tip. The symlink works fine for now. I thought there would be a solution using Yii2 itself, but I guess there is not. I’ll stick with the symlink now.
I had the same issue with the captcha picture. Didn’t show up in the backend login because yii2 pointed to the frontend. I solved it with a regular expression, forum post