[SITE] move img-Tags to new thumb syntax
This commit is contained in:
parent
edf3ce49c8
commit
8ebfbbfab4
5 changed files with 28 additions and 4 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue