HUGO

NEW Image processing module/partial

I have spent a lot of time creating a complex image processing module.

Its inspired by next/image (from next.js). The difference is it does not use excessive code and by default works with lazysizes.js but this can be turned off.

You can use all hugos image processing options.

Its a large partial but most of it doesn’t run out of the box (conditional if statement block most code from running)

Its configurable by copying the text out of config file in the module and pasting into your own params.yaml.

Most options can be set in-line when calling the partials.

Its nearly at BETA stage. Any feedback would be appreciated.

PR’s are welcome.

6 Likes