[SITE] move back from the new thumb api
This commit is contained in:
parent
d22adf0f81
commit
1de9571c20
3 changed files with 3 additions and 3 deletions
|
@ -23,7 +23,7 @@ snippet('base/cont-header');
|
|||
<div class="col-sm-6 col-lg-3"><div class="card">
|
||||
<a href="<?php echo $c->url(); ?>">
|
||||
<?php if ($img = $c->images()->find($c->exrpt_img())) {
|
||||
echo html::img($img->width(400)->quality(70)->url(), ['class'=>"card-img-top"]);
|
||||
echo ThumbExt($img, ['width'=>400,'quality'=>70,'class'=>"card-img-top",'inline-size'=>false]);
|
||||
} ?>
|
||||
<div class="card-block">
|
||||
<h5 class="card-title"><?php echo $c->title()->html(); ?></h5>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue