mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-10-18 15:00:32 -04:00
654 B
654 B
title | linktitle | description | godocref | date | publishdate | lastmod | categories | tags | 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 |
|
|
false |
{{% warning %}}
imageConfig
does not currently work in Hugo. See the related imageConfig
issue.
{{% /warning %}}
imageConfig
parses the image and returns the height, width, and color model.
{{ with (imageConfig "favicon.ico") }}
favicon.ico: {{.Width}} x {{.Height}}
{{ end }}