mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
parent
a46886500f
commit
67bb2b348d
1 changed files with 2 additions and 2 deletions
|
|
@ -23,7 +23,7 @@ Based on the image services commonly used with Angular applications, `NgOptimize
|
|||
| Image Service | Angular API | Documentation |
|
||||
|:--- |:--- |:--- |
|
||||
| Cloudflare Image Resizing | `provideCloudflareLoader` | [Documentation](https://developers.cloudflare.com/images/image-resizing/) |
|
||||
| Cloudinary | `provideCloudinaryLoader` | [Documentation](https://developers.cloudflare.com/images/image-resizing/) | |
|
||||
| Cloudinary | `provideCloudinaryLoader` | [Documentation](https://cloudinary.com/documentation/resizing_and_cropping) |
|
||||
| ImageKit | `provideImageKitLoader` | [Documentation](https://docs.imagekit.io/) |
|
||||
| Imgix | `provideImgixLoader` | [Documentation](https://docs.imgix.com/) |
|
||||
|
||||
|
|
@ -93,4 +93,4 @@ providers: [
|
|||
|
||||
A loader function for the `NgOptimizedImage` directive takes an object with the `ImageLoaderConfig` type (from `@angular/common`) as its argument and returns the absolute URL of the image asset. The `ImageLoaderConfig` object contains the `src`and `width` properties.
|
||||
|
||||
Note: a custom loader must support requesting images at various widths in order for `rawSrcset` to work properly.
|
||||
Note: a custom loader must support requesting images at various widths in order for `rawSrcset` to work properly.
|
||||
|
|
|
|||
Loading…
Reference in a new issue