Skip to content

File Upload

Stelo CMS integrates with Digital Ocean Spaces for scalable file storage and CDN delivery.

  • Images: JPG, PNG, WebP, AVIF
  • Documents: PDF, DOC, DOCX
  • Videos: MP4, WebM
  • Archives: ZIP, RAR

Files are stored in Digital Ocean Spaces with:

  • Automatic CDN distribution
  • Secure access controls
  • Optimized delivery
  • Backup redundancy
  • Drag and drop interface
  • Progress indicators
  • Image optimization
  • Automatic alt text generation
// Upload file via API
const upload = await trpc.media.upload.mutate({
file: fileData,
folder: "images",
alt: { en: "Description", fr: "Description" }
});

This section will be expanded with detailed implementation examples.