Does images.Filter work on Linux?

Error: error building site: render: failed to render pages: render of “home” failed: “/home/user/site/layouts/home.html:11:7”: execute of template failed: template: home.html:11:7: executing “home.html” at <partial “res-hint.html” .>: error calling partial: “/home/user/site/layouts/partials/res-hint.html:3:41”: execute of template failed: template: partials/res-hint.html:3:41: executing “partials/res-hint.html” at <images.Filter>: error calling Filter: image “/home/dangtu/work/my-site/com.cv/assets/bg.png”: this feature is not available in your current Hugo version, see Frequently asked questions | Hugo for more information

My hugo version is hugo v0.120.4-f11bca5fec2ebb3a02727fb2a5cfb08da96fd9df linux/amd64 BuildDate=2023-11-08T11:18:07Z VendorInfo=gohugoio, which is pretty new so what did I miss?

Hope this code can reproduce my trouble:

{{ $webp := images.Process "webp" }}
{{ with (resources.Get "bg.png") | images.Filter $webp }}
    <link rel='preload' href='{{ .Permalink }}' />
{{ end }}

You need to install the extended edition.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.