Skip to content

Commit 82a9b83

Browse files
authored
Alp/image upload s3 (windmill-labs#862)
* image upload to s3 * update images * update image
1 parent 5c58e08 commit 82a9b83

File tree

3 files changed

+2
-1
lines changed

3 files changed

+2
-1
lines changed

docs/apps/4_app_configuration_settings/image.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import DocCard from '@site/src/components/DocCard';
22

33
# Image
44

5-
The Image component allows you to display a picture.
5+
The Image component allows you to upload and display an image. There are two options for the image upload: upload as base64 embedded image recommended for small images and upload to s3, which is recommended for larger images or if you have multiple images.
66

77
![HTML](../../assets/apps/4_app_component_library/image_api.png.webp)
88

@@ -28,6 +28,7 @@ The following section details Image component's specific settings. For more deta
2828
| Name | Type | Connectable | Templatable | Default | Description |
2929
| --------- | :--------------------------: | :---------: | :---------: | :-------: | ------------------------------------------------------------------ |
3030
| Source | string | true | false | /logo.svg | The image. |
31+
| Source Kind | string: url, base64, s3 | true | false | url | Source kind, one of bas64 (jpg,png,svg), url, or s3 url (workspace storage) |
3132
| Image Fit | string: contain, cover, fill | false | false | contain | How the image will fit the component box. |
3233
| Alt text | string | false | false | / | This text will appear if the image can't be loaded for any reason. |
3334

Loading
Binary file not shown.

0 commit comments

Comments
 (0)