mirror of
https://github.com/gohugoio/hugo.git
synced 2024-12-27 05:53:24 +00:00
25 lines
468 B
Markdown
25 lines
468 B
Markdown
---
|
|
title: imageConfig
|
|
linktitle: imageConfig
|
|
description: Parses the image and returns the height, width, and color model.
|
|
godocref:
|
|
date: 2017-02-01
|
|
publishdate: 2017-02-01
|
|
lastmod: 2017-02-01
|
|
categories: [functions]
|
|
menu:
|
|
docs:
|
|
parent: "functions"
|
|
keywords: [images]
|
|
signature: ["imageConfig PATH"]
|
|
workson: []
|
|
hugoversion:
|
|
relatedfuncs: []
|
|
deprecated: false
|
|
---
|
|
|
|
```
|
|
{{ with (imageConfig "favicon.ico") }}
|
|
favicon.ico: {{.Width}} x {{.Height}}
|
|
{{ end }}
|
|
```
|