images.Config
Syntax
images.Config PATH
Returns
image.Config
See image processing for an overview of Hugo’s image pipeline.
{{ $ic := images.Config "/static/images/a.jpg" }}
{{ $ic.Width }} → 600 (int)
{{ $ic.Height }} → 400 (int)
Supported image formats include GIF, JPEG, PNG, TIFF, and WebP.