hugoDocs/content/functions/imageConfig.md

555 B

title linktitle description godocref date publishdate lastmod categories menu ns signature workson hugoversion relatedfuncs deprecated
imageconfig imageConfig Parses the image and returns the height, width, and color model. 2017-02-01 2017-02-01 2017-02-01
functions
docs
parent
functions
imageConfig PATH
false

imageConfig parses the image and returns the height, width, and color model.

{{ with (imageConfig "favicon.ico") }}
favicon.ico: {{.Width}} x {{.Height}}
{{ end }}