docs: fix typo in image directive guide (#47313)

PR Close #47313
This commit is contained in:
Aristeidis Bampakos
2022-09-01 13:37:08 +03:00
committed by Andrew Kushnir
parent 329fed78f3
commit a46886500f
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -8,7 +8,7 @@ You can import `NgOptimizedImage` from the `@angular/common` module. The directi
## Configure an `ImageLoader`
A "loader" is a function that generates the [image transformation URL](https://web.dev/image-cdns/#how-image-cdns-use-urls-to-indicate-optimization-options) for a given image file. When appropriate, `NgOptimzedImage` sets the size, format, and image quality transformations for an image.
A "loader" is a function that generates the [image transformation URL](https://web.dev/image-cdns/#how-image-cdns-use-urls-to-indicate-optimization-options) for a given image file. When appropriate, `NgOptimizedImage` sets the size, format, and image quality transformations for an image.
`NgOptimizedImage` provides a generic loader as well as loaders for various third-party image services; it also supports writing your own custom loader.
@@ -16,7 +16,7 @@ A "loader" is a function that generates the [image transformation URL](https://w
|:--- |:--- |
| Generic loader | The URL returned by the generic loader will always match the value of `src`. In other words, this loader applies no transformations. Sites that use Angular to serve images are the primary intended use case for this loader.|
| Loaders for third-party image services | The URL returned by the loaders for third-party image services will follow API conventions used by that particular image service. |
| Custom loaders | A custom loader's behavior is defined by its developer. You should use a custom loader if your image service isn't supported by the loaders that come preconfigured with `NgOptimzedImage`.|
| Custom loaders | A custom loader's behavior is defined by its developer. You should use a custom loader if your image service isn't supported by the loaders that come preconfigured with `NgOptimizedImage`.|
Based on the image services commonly used with Angular applications, `NgOptimizedImage` provides loaders preconfigured to work with the following image services:
+1 -1
View File
@@ -822,7 +822,7 @@
},
{
"url": "guide/image-directive-setup",
"title": "Setting up NgOptimzedImage",
"title": "Setting up NgOptimizedImage",
"tooltip": "Setup the Angular image directive"
},
{