Uploading Files
Files can be uploaded to multiple locations in your workspace:Pages
Embed files directly in page content
Database Fields
Attach files to database records
Chat Messages
Share files in channels and DMs
Upload Methods
- Drag & Drop
- File Picker
- Paste from Clipboard
File Types
Brainbox categorizes files into subtypes for specialized handling:- Images
- Videos
- Audio
- PDFs
- Other Files
Image files with preview and display options.Supported formats:
- PNG, JPG, JPEG
- GIF, WebP
- SVG
- HEIC (converted to JPG)
- Inline preview in pages
- Thumbnail generation
- Alignment options (left, center, right)
- Width adjustment
- Click to expand full-size
File Structure
Each file is stored as a node with metadata:File Storage
Files are stored in S3-compatible object storage:Upload Process
Large file uploads use multipart upload for reliability. If an upload is interrupted, it can resume from the last completed chunk.
File Permissions
File access follows parent node permissions:| Context | Create | View | Edit | Delete |
|---|---|---|---|---|
| Page/Database | Member+ | Viewer+ | Member+ | Member+ |
| Chat Message | Viewer+ | Viewer+ | Creator/Admin | Creator/Admin |
Files in chat messages have special permissions: only the message creator or channel admin can edit/delete them.
File Management
Renaming Files
Deleting Files
Moving Files
Files can be moved by changing their parent:- Drag files between pages
- Copy/paste files to new locations
- Update parent via API
Image Handling
Images have special display features:Alignment
Left
Align image to the left with text wrapping
Center
Center image with no text wrapping
Right
Align image to the right with text wrapping
Width Control
Adjust image width:- Drag handles - Resize by dragging corners
- Preset sizes - Small (300px), Medium (600px), Large (900px), Full width
- Custom width - Enter exact pixel value
Responsive Images
Images automatically scale for different screen sizes:- Desktop: Full specified width
- Tablet: Max 90% viewport width
- Mobile: 100% width (full bleed)
Offline Access
Files work with Brainbox’s offline-first architecture:- Cached Files
- Offline Uploads
Previously viewed files cache locally:
- Images cache in browser storage
- Thumbnails cache separately
- Access cached files offline
- Cache clears based on storage limits
Only files you’ve previously opened are available offline. New files require internet connection for first download.
File Size Limits
Default upload limits (configurable in self-hosted deployments):| Plan | Single File | Total Storage |
|---|---|---|
| Free | 10 MB | 2 GB |
| Pro | 100 MB | 100 GB |
| Enterprise | 1 GB | Unlimited |
| Self-hosted | Configurable | Configurable |
Self-hosted instances can configure file size limits via environment variables in the server configuration.
Storage Backend
Brainbox uses S3-compatible storage: Supported providers:- AWS S3
- MinIO (default for self-hosted)
- DigitalOcean Spaces
- Backblaze B2
- Cloudflare R2
- Any S3-compatible service
Security
Files are protected with multiple security layers:Access Control
Files inherit permissions from parent nodes
Presigned URLs
Time-limited signed URLs for direct S3 access
Virus Scanning
Optional ClamAV integration for malware detection
Encryption
At-rest encryption via S3 bucket policies
Best Practices
Optimize images before upload
Optimize images before upload
Compress images to reduce storage and improve load times. Use WebP format when possible for better compression.
Use descriptive names
Use descriptive names
Rename files with clear, searchable names instead of default camera names like “IMG_1234.png”.
Organize with folders
Organize with folders
Keep files organized in relevant pages or database records rather than uploading everything to one location.
Delete unused files
Delete unused files
Regularly clean up old or unused files to save storage space and keep your workspace tidy.
Check upload status
Check upload status
Verify files show Ready status before sharing links or references to ensure they’re fully uploaded.
Next Steps
Pages
Embed files in rich text pages
Databases
Use file fields in databases
Chat
Share files in conversations
Collaboration
Learn about offline file uploads