1
0
Fork 0

[SITE] move back from the new thumb api

This commit is contained in:
Jannik Beyerstedt 2016-04-27 22:44:51 +02:00
parent d22adf0f81
commit 1de9571c20
3 changed files with 3 additions and 3 deletions

View file

@ -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>