I’m trying to upscale some images on the fly to use as a page header… so far it doesn’t seem to work at all.
<?php $headerimg = $page->images()->sortBy('sort')->first()->thumb([ 'quality' => 80, 'width' => 1920, 'upscale' => true]); ?>
the image itself is then called in the code by
<?= $headerimg->url() ?>
But it never enlages the file… what am I doing wrong? Original image is only 300px wide.