G
G
Greg Popov2016-05-03 18:11:37
Yii
Greg Popov, 2016-05-03 18:11:37

How to get images from common in Yii2?

Hello. I did the loading of images in the backend, in the future they will need to be pulled in the frontend part, in this regard, I placed them in common after loading them, but how to display them on the screen is a problem.
Writes 404 (Not found).
Thanks in advance.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anton Natarov, 2016-05-03
@HanDroid

Create a folder in app/common/ someFolder You
can see pictures like this
in general there are aliases

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question