Skip to content

Commit 80502e7

Browse files
ToriLindsaycaley-b
authored andcommitted
[Images] Nav changes - batch 1 (#24901)
* [Images] Nav changes - batch 1 * Apply suggestions from code review Co-authored-by: Caley Burton <[email protected]> * Update src/content/docs/images/get-started.mdx * Buttons needed additional indentation --------- Co-authored-by: Caley Burton <[email protected]>
1 parent cffded7 commit 80502e7

File tree

13 files changed

+106
-62
lines changed

13 files changed

+106
-62
lines changed

src/content/docs/images/get-started.mdx

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ sidebar:
55
order: 2
66

77
---
8+
import { DashButton } from "~/components";
89

910
In this guide, you will get started with Cloudflare Images and make your first API request.
1011

@@ -32,10 +33,12 @@ Cloudflare will automatically cache every transformed image on our global networ
3233

3334
To enable transformations on your zone:
3435

35-
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/login) and select your account.
36-
2. Go to **Images** > **Transformations**.
37-
3. Go to the specific zone where you want to enable transformations.
38-
4. Select **Enable for zone**. This will allow you to optimize and deliver remote images.
36+
1. In the Cloudflare dashboard, go to the **Transformations** page.
37+
38+
<DashButton url="/?to=/:account/images/delivery-zones" />
39+
40+
2. Go to the specific zone where you want to enable transformations.
41+
3. Select **Enable for zone**. This will allow you to optimize and deliver remote images.
3942

4043
:::note
4144

src/content/docs/images/manage-images/blur-variants.mdx

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,20 @@ sidebar:
55
order: 12
66

77
---
8+
import { DashButton } from "~/components";
89

910
You can apply blur to image variants by creating a specific variant for this effect first or by editing a previously created variant. Note that you cannot blur an SVG file.
1011

1112
Refer to [Resize images](/images/manage-images/create-variants/) for help creating variants. You can also refer to the API to learn how to use blur using flexible variants.
1213

1314
To blur an image:
1415

15-
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/login) and select your account.
16-
2. Select **Images** > **Variants**.
17-
3. Find the variant you want to blur and select **Edit** > **Customization Options**.
18-
4. Use the slider to adjust the blurring effect. You can use the preview image to see how strong the blurring effect will be.
19-
5. Select **Save**.
16+
1. In the Cloudflare dashboard, got to the **Variants** page.
17+
18+
<DashButton url="/?to=/:account/images/variants" />
19+
20+
2. Find the variant you want to blur and select **Edit** > **Customization Options**.
21+
3. Use the slider to adjust the blurring effect. You can use the preview image to see how strong the blurring effect will be.
22+
4. Select **Save**.
2023

2124
The image should now display the blurred effect.

src/content/docs/images/manage-images/configure-webhooks.mdx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,19 @@
22
pcx_content_type: how-to
33
title: Configure webhooks
44
---
5+
import { DashButton } from "~/components";
56

67
You can set up webhooks to receive notifications about your upload workflow. This will send an HTTP POST request to a specified endpoint when an image either successfully uploads or fails to upload.
78

89
Currently, webhooks are supported only for [direct creator uploads](/images/upload-images/direct-creator-upload/).
910

1011
To receive notifications for direct creator uploads:
1112

12-
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/login) and select your account.
13-
2. Go to **Notifications** > **Destinations**.
13+
1. In the Cloudflare dashboard, go to the **Notifications** pages.
14+
15+
<DashButton url="/?to=/:account/notifications" />
16+
17+
2. Select **Destinations**.
1418
3. From the Webhooks card, select **Create**.
1519
4. Enter information for your webhook and select **Save and Test**. The new webhook will appear in the **Webhooks** card and can be attached to notifications.
1620
5. Next, go to **Notifications** > **All Notifications** and select **Add**.

src/content/docs/images/manage-images/create-variants.mdx

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ sidebar:
55
order: 10
66

77
---
8+
import { DashButton } from "~/components";
89

910
Variants let you specify how images should be resized for different use cases. By default, images are served with a `public` variant, but you can create up to 100 variants to fit your needs. Follow these steps to create a variant.
1011

@@ -14,10 +15,13 @@ Cloudflare Images can deliver SVG files but will not resize them because it is a
1415
Resize via the Cloudflare dashboard.
1516
:::
1617

17-
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/login) and select your account.
18-
2. Select **Images** > **Variants**.
19-
3. Name your variant and select **Add New Variant**.
20-
4. Define variables for your new variant, such as resizing options, type of fit, and specific metadata options.
18+
1. In the Cloudflare dashboard, go to the **Variants** page.
19+
20+
<DashButton url="/?to=/:account/images/variants" />
21+
22+
2. Select **Create variant**.
23+
2. Name your variant and select **Create**.
24+
3. Define variables for your new variant, such as resizing options, type of fit, and specific metadata options.
2125

2226
## Resize via the API
2327

src/content/docs/images/manage-images/delete-images.mdx

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,18 @@ sidebar:
55
order: 17
66

77
---
8+
import { DashButton } from "~/components";
89

910
You can delete an image from the Cloudflare Images storage using the dashboard or the API.
1011

1112
## Delete images via the Cloudflare dashboard
1213

13-
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/login) and select your account.
14-
2. Select **Images**.
15-
3. Find the image you want to remove and select **Delete**.
16-
4. (Optional) To delete more than one image, select the checkbox next to the images you want to delete and then **Delete selected**.
14+
1. In the Cloudflare dashboard, go to **Images** page.
15+
16+
<DashButton url="/?to=/:account/images" />
17+
18+
2. Find the image you want to remove and select **Delete**.
19+
3. (Optional) To delete more than one image, select the checkbox next to the images you want to delete and then **Delete selected**.
1720

1821
Your image will be deleted from your account.
1922

src/content/docs/images/manage-images/delete-variants.mdx

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ sidebar:
55
order: 13
66

77
---
8+
import { DashButton } from "~/components";
89

910
You can delete variants via the Images dashboard or API. The only variant you cannot delete is public.
1011

@@ -18,9 +19,11 @@ Deleting a variant is a global action that will affect other images that contain
1819

1920
## Delete variants via the Cloudflare dashboard
2021

21-
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/login) and select your account.
22-
2. Select **Images** > **Variants**.
23-
3. Find the variant you want to remove and select **Delete**.
22+
1. In the Cloudflare dashboard, go to the **Variants** page.
23+
24+
<DashButton url="/?to=/:account/images/variants" />
25+
26+
2. Find the variant you want to remove and select **Delete**.
2427

2528
## Delete variants via the API
2629

src/content/docs/images/manage-images/edit-images.mdx

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ sidebar:
55
order: 14
66

77
---
8+
import { DashButton } from "~/components";
89

910
The Edit option provides you available options to modify a specific image. After choosing to edit an image, you can:
1011

@@ -14,6 +15,8 @@ The Edit option provides you available options to modify a specific image. After
1415

1516
To edit an image:
1617

17-
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/login) and select your account.
18-
2. In **Account Home**, select **Images**.
19-
3. Locate the image you want to modify and select **Edit**.
18+
1. In the Cloudflare dashboard, go to the **Images** page.
19+
20+
<DashButton url="/?to=/:account/images" />
21+
22+
2. Locate the image you want to modify and select **Edit**.

src/content/docs/images/manage-images/enable-flexible-variants.mdx

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,17 @@ sidebar:
55
order: 11
66

77
---
8+
import { DashButton } from "~/components";
89

910
Flexible variants allow you to create variants with dynamic resizing which can provide more options than regular variants allow. This option is not enabled by default.
1011

1112
## Enable flexible variants via the Cloudflare dashboard
1213

13-
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/login) and select your account.
14-
2. Select **Images** > **Variants**.
15-
3. Enable **Flexible variants**.
14+
1. In the Cloudflare dashboard, go to the **Variants** page.
15+
16+
<DashButton url="/?to=/:account/images/variants" />
17+
18+
2. Enable **Flexible variants**.
1619

1720
## Enable flexible variants via the API
1821

src/content/docs/images/manage-images/export-images.mdx

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,18 @@ sidebar:
55
order: 16
66

77
---
8+
import { DashButton } from "~/components";
89

910
Cloudflare Images supports image exports via the Cloudflare dashboard and API which allows you to get the original version of your image.
1011

1112
## Export images via the Cloudflare dashboard
1213

13-
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/login) and select your account.
14-
2. Select **Images**.
15-
3. Find the image or images you want to export.
16-
4. To export a single image, select **Export** from its menu. To export several images, select the checkbox next to each image and then select **Export selected**.
14+
1. In the Cloudflare dashboard, go to the **Images** page.
15+
16+
<DashButton url="/?to=/:account/images" />
17+
18+
2. Find the image or images you want to export.
19+
3. To export a single image, select **Export** from its menu. To export several images, select the checkbox next to each image and then select **Export selected**.
1720

1821
Your images are downloaded to your machine.
1922

src/content/docs/images/manage-images/serve-images/serve-private-images.mdx

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,15 @@ sidebar:
55
order: 23
66
---
77

8-
import { TypeScriptExample } from "~/components";
8+
import { TypeScriptExample,DashButton } from "~/components";
99

1010
You can serve private images by using signed URL tokens. When an image requires a signed URL, the image cannot be accessed without a token unless it is being requested for a variant set to always allow public access.
1111

12-
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/login) and select your account.
13-
2. Select **Images** > **Keys**.
14-
3. Copy your key and use it to generate an expiring tokenized URL.
12+
1. In the Cloudflare dashboard, go to the **Keys** page.
13+
14+
<DashButton url="/?to=/:account/images/keys" />
15+
16+
2. Copy your key and use it to generate an expiring tokenized URL.
1517

1618
:::note
1719

0 commit comments

Comments
 (0)