File Upload
File Upload System
Section titled “File Upload System”Stelo CMS integrates with Digital Ocean Spaces for scalable file storage and CDN delivery.
Supported File Types
Section titled “Supported File Types”- Images: JPG, PNG, WebP, AVIF
- Documents: PDF, DOC, DOCX
- Videos: MP4, WebM
- Archives: ZIP, RAR
Storage Configuration
Section titled “Storage Configuration”Files are stored in Digital Ocean Spaces with:
- Automatic CDN distribution
- Secure access controls
- Optimized delivery
- Backup redundancy
Upload Features
Section titled “Upload Features”- Drag and drop interface
- Progress indicators
- Image optimization
- Automatic alt text generation
Integration
Section titled “Integration”// Upload file via APIconst upload = await trpc.media.upload.mutate({ file: fileData, folder: "images", alt: { en: "Description", fr: "Description" }});This section will be expanded with detailed implementation examples.