diff --git a/src/content/docs/en/reference/modules/astro-assets.mdx b/src/content/docs/en/reference/modules/astro-assets.mdx index f10ea2c2483c6..a4e25c4c60662 100644 --- a/src/content/docs/en/reference/modules/astro-assets.mdx +++ b/src/content/docs/en/reference/modules/astro-assets.mdx @@ -645,7 +645,7 @@ If you need the resulting image URL client-side, you can [pass the `src` from a The `getImage()` function is intended for generating images destined to be used somewhere else than directly in HTML, for example in an [API Route](/en/guides/endpoints/#server-endpoints-api-routes). It also allows you to create your own custom `` component. -This takes an options object with the [same properties as the Image component](#image-) (except `alt`) and returns a [`GetImageResult` object](#getimageresult). +This takes an options object with a subset of the [Image component properties](#image-) (excluding `alt`, `priority`, and `layout`) and returns a [`GetImageResult` object](#getimageresult). The following example generates an AVIF `background-image` for a `
`: @@ -828,7 +828,7 @@ See [`getConfiguredImageService()`](#getconfiguredimageservice) from `astro:asse **Type:** (options: UnresolvedImageTransform, imageConfig: AstroConfig['image']) => Promise\<GetImageResult\>

-A function similar to [`getImage()`](#getimage) from `astro:assets` with two required arguments: an `options` object with [the same properties as the Image component](#image-) and a second object for the [image configuration](/en/reference/configuration-reference/#image-options). +A function similar to [`getImage()`](#getimage) from `astro:assets` with two required arguments: an `options` object with a subset of the [Image component properties](#image-) (excluding `alt`, `priority`, and `layout`), and a second object for the [image configuration](/en/reference/configuration-reference/#image-options). ### `isLocalService()`