Z
Z
ZaurK2016-10-28 12:36:06
Yii
ZaurK, 2016-10-28 12:36:06

How to call frontend image from backend folder?

Hello! The backend/web/images folder contains images, and being in the backend I can easily insert an image as a . How to display this image in frontend? <img class="" src="/images/80785.jpg">

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim Timofeev, 2016-10-28
@ZaurK

you need to have 1 shared public folder in which to store images
-web
--images
-yii
--backend
--frontend
--common

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question