Skip to content
This repository was archived by the owner on Sep 9, 2024. It is now read-only.

Commit 325e6af

Browse files
committed
Update collection-overview.mdx
1 parent 35fff0a commit 325e6af

File tree

1 file changed

+28
-1
lines changed

1 file changed

+28
-1
lines changed

packages/docs/content/docs/collection-overview.mdx

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -421,4 +421,31 @@ view_groups: {
421421

422422
## Media Library
423423

424-
The `media_library` settings allows customization of the media library at the collection level. See [Media Library](/docs/configuration-options#media-library) for more details.
424+
The `media_library` settings allows customization of the media library at the collection level.
425+
426+
### Options
427+
428+
| Name | Type | Default | Description |
429+
| --------------------- | ------- | -------- | -------------------------------------------------------------------------------------- |
430+
| max_file_size | number | `512000` | _Optional_. The max size, in bytes, of files that can be uploaded to the media library |
431+
| folder_support | boolean | `false` | _Optional_. Enables directory navigation and folder creation in your media library |
432+
433+
### Example
434+
435+
<CodeTabs>
436+
```yaml
437+
media_library:
438+
max_file_size: 512000
439+
folder_support: true
440+
```
441+
442+
```js
443+
{
444+
media_library: {
445+
max_file_size: 512000,
446+
folder_support: true
447+
}
448+
}
449+
```
450+
451+
</CodeTabs>

0 commit comments

Comments
 (0)