Closed espenlg closed 4 months ago
This is in my template:
<img src="{{ glide:image width='1496' height='617' fit='crop_focal' }}" />
And this is in my assets.php:
assets.php
'defaults' => [ 'format' => 'webp', 'quality' => 85, ],
But it still loads as jpeg when I look at the network tab in Chrome:
If I add format='webp' in the glide tag it works fine.
format='webp'
Explained in the bug description.
No response
Environment Application Name: Laugstol Laravel Version: 11.7.0 PHP Version: 8.2.16 Composer Version: 2.7.2 Environment: local Debug Mode: ENABLED URL: laugstol.test/ Maintenance Mode: OFF Cache Config: NOT CACHED Events: NOT CACHED Routes: NOT CACHED Views: CACHED Drivers Broadcasting: log Cache: statamic Database: sqlite Logs: stack / single Mail: log Queue: sync Session: file Statamic Addons: 0 Sites: 2 (Norsk, Engelsk) Stache Watcher: Enabled Static Caching: Disabled Version: 5.0.2 PRO
Fresh statamic/statamic site via CLI
Oh lord. php please glide:clear to the rescue.
php please glide:clear
Bug description
This is in my template:
And this is in my
assets.php
:But it still loads as jpeg when I look at the network tab in Chrome:
If I add
format='webp'
in the glide tag it works fine.How to reproduce
Explained in the bug description.
Logs
No response
Environment
Installation
Fresh statamic/statamic site via CLI
Additional details
No response