It seems that the thumbnails are not working as expected.
Using a Thumbnail Alias results in an error message:
Argument 2 passed to Bolt\Twig\ImageExtension::thumbnail() must be of the type integer or null, string given, called in /Library/WebServer/Documents/bolt4/websrc/var/cache/dev/twig/12/121b12ad1d8f97a3040979915b064b93463dc1fdba5ee866f640a1bfbea1f93b.php on line 94
twig Template:
<img src="{{ thumbnail(homepage.image, 'teaser') }}" />
theme.yaml:
thumbnails:
aliases:
teaser:
size: [400, 300]
cropping: crop
The call with cropping parameters is ignored, it seems that 'r' is always applied
twig Template:
<img src="{{ thumbnail(homepage.image, 120, 120, 'c') }}" />
output HTML:
<img src="/thumbs/120×120×location=c/IMG-3312.jpg" />
But the rendered Image is actual 120x90px
Bolt version: 4.0.0 RC 32
* Install type: Composer install
* Database: sqlite 3.28.0 (without JSON)
* PHP version: 7.2.21
* Symfony version: v4.4.11
* Operating System: Darwin - 18.7.0
It seems that the thumbnails are not working as expected.
Using a Thumbnail Alias results in an error message:
twig Template:
theme.yaml:
The call with cropping parameters is ignored, it seems that 'r' is always applied
twig Template:
output HTML:
But the rendered Image is actual 120x90px