Commit 33e19766da22de15c447dab258c234f08ff27e78
1 parent
55bd0bb9
Commit
Showing
2 changed files
with
2 additions
and
2 deletions
Show diff stats
frontend/views/company/_portfolio_list_view.php
... | ... | @@ -11,7 +11,7 @@ |
11 | 11 | <div class="portfolio-project-blocks-wr"> |
12 | 12 | <div class="portfolio-project-blocks-img-title"> |
13 | 13 | <div class="portfolio-project-blocks-img"> |
14 | - <?= Html::a(Html::img($model->cover), Url::toRoute([ | |
14 | + <?= Html::a(Html::img($model->getWatermark($model->cover,'210','150')), Url::toRoute([ | |
15 | 15 | 'company/portfolio-view', |
16 | 16 | 'company_id' => $model->user_id, |
17 | 17 | 'portfolio_id' => $model->portfolio_id, | ... | ... |
frontend/views/performer/_portfolio_list_view.php
... | ... | @@ -13,7 +13,7 @@ |
13 | 13 | <div class="portfolio-project-blocks-wr"> |
14 | 14 | <div class="portfolio-project-blocks-img-title"> |
15 | 15 | <div class="portfolio-project-blocks-img"> |
16 | - <?= Html::a(Html::img($model->minImg($model->cover,'210','150')), Url::toRoute([ | |
16 | + <?= Html::a(Html::img($model->getWatermark($model->cover,'210','150')), Url::toRoute([ | |
17 | 17 | 'performer/portfolio-view', |
18 | 18 | 'performer_id' => $model->user_id, |
19 | 19 | 'portfolio_id' => $model->portfolio_id, | ... | ... |