diff options
| author | Shinigami <[email protected]> | 2023-05-15 08:24:13 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-05-15 08:24:13 +0200 |
| commit | 8f741bd4bda455517fd048b83d76bd8e6d89d78e (patch) | |
| tree | 512783caad8d405372c29859c1edb2acd09f94d7 /src/modules/image | |
| parent | e0e9ae8e9f41bb93ec02a37345129e24ccf58c9d (diff) | |
| download | faker-8f741bd4bda455517fd048b83d76bd8e6d89d78e.tar.xz faker-8f741bd4bda455517fd048b83d76bd8e6d89d78e.zip | |
docs: switch doc links to stable (#2152)
Diffstat (limited to 'src/modules/image')
| -rw-r--r-- | src/modules/image/index.ts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/modules/image/index.ts b/src/modules/image/index.ts index 2e7806ff..a44c2efb 100644 --- a/src/modules/image/index.ts +++ b/src/modules/image/index.ts @@ -10,13 +10,13 @@ import { Unsplash } from './providers/unsplash'; * * ### Overview * - * For a random image, use [`url()`](https://next.fakerjs.dev/api/image.html#url). This will not return the image directly but a URL pointing to an image from one of two demo image providers "Picsum" and "LoremFlickr". You can request an image specifically from one of two providers using [`urlLoremFlickr()`](https://next.fakerjs.dev/api/image.html#urlloremflickr) or [`urlPicsumPhotos()`](https://next.fakerjs.dev/api/image.html#urlpicsumphotos). + * For a random image, use [`url()`](https://fakerjs.dev/api/image.html#url). This will not return the image directly but a URL pointing to an image from one of two demo image providers "Picsum" and "LoremFlickr". You can request an image specifically from one of two providers using [`urlLoremFlickr()`](https://fakerjs.dev/api/image.html#urlloremflickr) or [`urlPicsumPhotos()`](https://fakerjs.dev/api/image.html#urlpicsumphotos). * - * For a random placeholder image containing only solid color and text, use [`urlPlaceholder()`](https://next.fakerjs.dev/api/image.html#urlplaceholder) (uses a third-party service) or [`dataUri()`](https://next.fakerjs.dev/api/image.html#datauri) (returns a SVG string). + * For a random placeholder image containing only solid color and text, use [`urlPlaceholder()`](https://fakerjs.dev/api/image.html#urlplaceholder) (uses a third-party service) or [`dataUri()`](https://fakerjs.dev/api/image.html#datauri) (returns a SVG string). * - * For a random user avatar image, use [`avatar()`](https://next.fakerjs.dev/api/image.html#avatar). + * For a random user avatar image, use [`avatar()`](https://fakerjs.dev/api/image.html#avatar). * - * This module previously also contained methods for specifically themed images like "fashion" or "food", but these are now deprecated. If you need more control over image type, you can request categorized images using [`urlLoremFlickr()`](https://next.fakerjs.dev/api/image.html#urlloremflickr), use an image provider directly or provide your own set of placeholder images. + * This module previously also contained methods for specifically themed images like "fashion" or "food", but these are now deprecated. If you need more control over image type, you can request categorized images using [`urlLoremFlickr()`](https://fakerjs.dev/api/image.html#urlloremflickr), use an image provider directly or provide your own set of placeholder images. */ export class ImageModule { /** |
