Skip to content

Commit 8a60d47

Browse files
authored
[Images] Link to image resizing errors (#21797)
1 parent ff0ebd9 commit 8a60d47

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/content/partials/images/onerror.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ import { Tabs, TabItem } from "~/components"
77
At the moment, this setting only works directly with [image transformations](/images/transform-images/) and does not support resizing with Cloudflare Workers.
88
:::
99

10-
In case of a fatal error that prevents the image from being resized, redirects to the unresized source image URL. This may be useful in case some images require user authentication and cannot be fetched anonymously via Worker. This option should not be used if there is a chance the source image is very large. This option is ignored if the image is from another domain, but you can use it with subdomains.
10+
In case of a [fatal error](/images/reference/troubleshooting/#error-responses-from-resizing) that prevents the image from being resized, redirects to the unresized source image URL. This may be useful in case some images require user authentication and cannot be fetched anonymously via Worker. This option should not be used if there is a chance the source image is very large. This option is ignored if the image is from another domain, but you can use it with subdomains.
1111

1212
<Tabs>
1313
<TabItem label="URL format">
1414
```js
1515
onerror=redirect
1616
```
1717
</TabItem>
18-
</Tabs>
18+
</Tabs>

0 commit comments

Comments
 (0)