Пример #1
0
<?php

use app\models\blog\ColumnImage;
/* @var \app\models\blog\ColumnImage $model */
?>
<div class="<?php 
echo $model->getBlockWidth();
?>
">
    <img src="/<?php 
echo ColumnImage::imageUrl() . $model->path;
?>
" alt="<?php 
echo $model->alt;
?>
" class="img-responsive">
</div>