๐Ÿ–ผ๏ธMedia Uploads

How to work with Databutton's in-built Media Uploads folder.

Databutton provides a built-in storage system designed for static public assets like images, with a file size limit of 50MB per asset. This storage is ideal for hosting images (e.g., .png, .jpg, .svg) to be displayed on your site.

All media uploads are publicly available and anyone with the correct link will be able to access

Steps to use

  1. Navigate to the "Public Assets" Tab in the Sidebar

  2. Click on the Folder Icon and select images you wish to upload for your app

  1. After upload has succeeded, you can preview your image by clicking on the image in the Sidebar

  2. To integrate image in your app, simply instruct the agent to do so by using #image.png

Code to integrate

<img src="/public/{projId}/{filename} />

Example:
<img src="/public/abc123/image.png />

Video tutorial

Last updated