[FIX] about me: Image selection broken
This commit is contained in:
parent
f1496b0653
commit
c9f985c748
|
@ -21,7 +21,7 @@ snippet('base/cont-header');
|
||||||
<p class="lead"><?php echo $page->featurette_text()->kirbytextinline() ?></p>
|
<p class="lead"><?php echo $page->featurette_text()->kirbytextinline() ?></p>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-sm-3 col-12">
|
<div class="col-sm-3 col-12">
|
||||||
<?php if ($img = $page->images()->find($page->featurette_img())) {
|
<?php if ($img = $page->featurette_img()->toFile()) {
|
||||||
$imgurl = $img->url();
|
$imgurl = $img->url();
|
||||||
$srcset = $img->srcset([
|
$srcset = $img->srcset([
|
||||||
'1x' => ['width'=>235, 'quality'=>70],
|
'1x' => ['width'=>235, 'quality'=>70],
|
||||||
|
|
Loading…
Reference in a new issue