Faced the following problem. There is a module, for example, called arenda, I created a web folder there, then the images folder and I want to store all the pictures of this module there, but I ran into a problem that I cannot reach the image in styles, as far as I understand the folder is closed for reading from the outside. How to solve this problem?

  • You can try to create a symbolic link ln -s from the module folder to the public folder web - lyhoshva
  • Can you describe in more detail how to do this or a link to the material? - Anatoly
  • ln - s If you fail to create the link, write the path to the public folder and the path to the folder with pictures in the module. I will help - lyhoshva
  • @ Anatoly I did this in Windows like this: c:\>mklink /j "c:\openserver\domains\poll.ua\frontend\web\upload\cache" "c:\openserver\domains\poll.ua\backend\web\upload\cache" . First, where the link leads, then from where. And for Linux, it seems to be like this: ln -sc:/openserver/domains/poll.ua/backend/web/upload/cache/ c:/openserver/domains/poll.ua/frontend/web/upload/cache/ - Alexey

0