Skip to content

Commit 4b53808

Browse files
committed
Clarify image sizes
1 parent fa7773f commit 4b53808

2 files changed

Lines changed: 7 additions & 4 deletions

File tree

docs/capabilities/client/forms.mdx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -511,6 +511,11 @@ const imageField = {
511511
| `placeholder` | `string` `undefined` | Placeholder text for display before a value is present. |
512512
| `isSecret` | `boolean` `undefined` | Makes the form field secret. |
513513

514+
#### Notes
515+
516+
- The formats supported are PNG, JPEG, WEBP, and GIF.
517+
- The maximum file size allowed is 20 MB.
518+
514519
### Group
515520

516521
A collection of related fields that allows for better readability.

docs/capabilities/server/media-uploads.mdx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,9 @@ On the server, you can pass the URL of any remotely hosted image (even if its no
5151

5252
## Limitations
5353

54-
The following file types are supported, along with a corresponding maximum size limit:
55-
- JPEG, PNG, and WEBP: up to 20 MB
56-
- GIF: up to 100 MB
54+
- The formats supported are PNG, JPEG, WEBP, and GIF.
55+
- The maximum file size allowed is 20 MB.
5756

5857
### Notes
5958

60-
- When uploading through a data URL, the size limit is 7.5 MB regardless of file type due to request size limits.
6159
- When uploading a WEBP image, it will be converted to JPEG. As such, the Reddit URL returned points to a JPEG image.

0 commit comments

Comments
 (0)