You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/content/docs/images/transform-images/serve-images-custom-paths.mdx
+2-6Lines changed: 2 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -89,16 +89,12 @@ Leave the **Query** > **Rewrite to** > _Static_ field empty.
89
89
90
90
## Pass every image requested on your zone through Images
91
91
92
-
:::note
93
-
This feature requires a Business or Enterprise plan to enable regular expressions in Transform Rules. Refer to [Cloudflare Transform Rules Availability](/rules/transform/#availability) for more information.
94
-
:::
95
-
96
92
This example lets you transform every image that is requested on your zone with the `format=auto` option:
97
93
98
94
```txt
99
-
(http.request.uri.path.extension matches "(jpg)|(jpeg)|(png)|(gif)") and (not (any(http.request.headers["via"][*] contains "image-resizing")))
95
+
(http.request.uri.path.extension in {"jpg" "jpeg" "png" "gif"}) and (not (any(http.request.headers["via"][*] contains "image-resizing")))
100
96
```
101
97
102
98
```txt title="Text in Path > Rewrite to > Dynamic"
0 commit comments