I want to render/show an image in a view on backend, but the image location is in frontend/web/uploads
.
I tried doing this on the DetailView::widget()
:
...
[
'attribute'=>'image',
'value'=>('/frontend/web/uploads/'.$model->image),
'format' => ['image',['width'=>'100','height'=>'100']],
],
But the image is not showing up. Any help?