1
0
Fork 0

[SITE] move img-Tags to new thumb syntax

This commit is contained in:
Jannik Beyerstedt 2016-04-22 23:35:45 +02:00
parent edf3ce49c8
commit 8ebfbbfab4
5 changed files with 28 additions and 4 deletions

View file

@ -22,7 +22,7 @@ snippet('base/cont-header');
</div>
<div class="col-sm-3">
<?php if ($img = $page->images()->find($page->featurette_img())) {
echo '<img src="'.$img->width(235)->url().'" class="img-fluid img-rounded" alt="Portrait">';
echo html::img($img->width(235)->quality(70)->url(), ['class'=>"img-fluid img-rounded", 'alt'=>"Portrait"]);
}?>
</div>
</div>