Learn how to install the Hugo Images module.
Become a backer or sponsor to support our work.
hugo.yaml
1module:
2 imports:
3 - path: github.com/hugomods/images
hugo.toml
1[module]
2 [[module.imports]]
3 path = 'github.com/hugomods/images'
hugo.json
1{
2 "module": {
3 "imports": [
4 {
5 "path": "github.com/hugomods/images"
6 }
7 ]
8 }
9}
This module was built on top of image render hook.
If your theme has a built-in render-image
hook, then a conflict may occur, in this case, you’ll need to put this module above your theme, to make sure this module got a higher priority.