Merge commit '5be51ac3db225d5df501ed1fa1499c41d97dbf65'

This commit is contained in:
Bjørn Erik Pedersen
2025-04-10 13:04:51 +02:00
987 changed files with 12379 additions and 14083 deletions

View File

@@ -3,18 +3,16 @@ title: images.Config
description: Returns an image.Config structure from the image at the specified path, relative to the working directory.
categories: []
keywords: []
action:
aliases: []
related: []
returnType: image.Config
signatures: [images.Config PATH]
params:
functions_and_methods:
aliases: []
returnType: image.Config
signatures: [images.Config PATH]
aliases: [/functions/imageconfig]
---
See [image processing] for an overview of Hugo's image pipeline.
[image processing]: /content-management/image-processing/
```go-html-template
{{ $ic := images.Config "/static/images/a.jpg" }}
@@ -24,10 +22,9 @@ See [image processing] for an overview of Hugo's image pipeline.
Supported image formats include GIF, JPEG, PNG, TIFF, and WebP.
{{% note %}}
This is a legacy function, superseded by the [`Width`] and [`Height`] methods for [global resources](g), [page resources](g), and [remote resources](g). See the [image processing] section for details.
> [!note]
> This is a legacy function, superseded by the [`Width`] and [`Height`] methods for [global resources](g), [page resources](g), and [remote resources](g). See the [image processing] section for details.
[`Width`]: /methods/resource/width/
[`Height`]: /methods/resource/height/
[`Width`]: /methods/resource/width/
[image processing]: /content-management/image-processing/
{{% /note %}}