Skip to content

Commit 90be6a0

Browse files
authored
Update Docs: Widgets “image” (#7005)
1 parent fbcb010 commit 90be6a0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

website/content/docs/widgets/image.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ The image widget allows editors to upload an image or select an existing one fro
1515
* `allow_multiple`: *(default: `true`)* when set to `false`, multiple selection will be disabled even if the media library extension supports it
1616
* `config`: a configuration object passed directly to the media library; check the documentation of your media library extension for available `config` options
1717
* `media_folder` (Beta): file path where uploaded images will be saved specific to this control. Paths can be relative to a collection folder (e.g. `images` will add the image to a sub-folder in the collection folder) or absolute with reference to the base of the repo which needs to begin with `/` (e.g `/static/images` will save uploaded images to the `static` folder in a sub folder named `images`)
18+
* `public_folder` *(defaults to the value of `media_folder`, with an opening `/` if one is not already included.)*: specifies the folder path where the files uploaded by the media library will be accessed, relative to the base of the built site. The value of the field is generated by prepending this path to the filename of the selected file.
1819
* `choose_url`: *(default: `true`)* when set to `false`, the "Insert from URL" button will be hidden
1920
* **Example:**
2021

@@ -27,4 +28,4 @@ The image widget allows editors to upload an image or select an existing one fro
2728
media_library:
2829
config:
2930
multiple: true
30-
```
31+
```

0 commit comments

Comments
 (0)