Skip to content
MyAppBuilder
StableGuide

Uploading files

Upload files to the Assets library with the upload button, by dragging them onto the section, or by pasting an image from your clipboard. Each file is checked on the server before it becomes available.

Uploading files

Upload files to the Assets library with the upload button, by dragging them onto the section, or by pasting an image from your clipboard. Each file is checked on the server before it becomes available.

When to use

Any file that belongs to the app's design or content: images, logos, icons, PDFs, documents, video, audio, fonts.

How to upload

  1. Open Assets. If you want the files in a specific folder, select that folder first — new uploads go into the folder you are viewing.
  2. Either: - click Upload files and choose one or more files; - drag files from your computer anywhere onto the section ("Drop to upload"); - press Ctrl+V / Cmd+V with an image in the clipboard (screenshots, copied images). Pasted images are named pasted-<date>.png.
  3. The upload list shows each file as Waiting, Uploading…, done or failed with the reason. Files upload one after another.
  4. When a single file finishes, its details panel opens so you can set alt text or move it.

Limits and supported types

  • Size: up to 25 MB per file. Empty files are rejected.
  • Images: PNG, JPG/JPEG, GIF, WebP, AVIF, SVG, ICO.
  • Video: MP4, WebM. Audio: MP3, WAV, OGG.
  • Documents: PDF, TXT, CSV, DOC, DOCX, XLS, XLSX, PPTX, ZIP.
  • Fonts: WOFF, WOFF2, TTF, OTF.

Other types are refused before the upload starts ("this file type isn't supported") or by the server ("This file type is not supported").

What the server checks

  • Real file type. The content of the file is inspected (not just its name or declared type). A .png that is really an executable is rejected; Office files are recognised by their container.
  • Size. The announced size and the actual bytes must both be under the limit.
  • SVG safety. Scripts, event handlers, embedded foreign content, javascript: links and entity declarations are removed from SVGs, and SVGs are served in a sandboxed way (SVG and documents).
  • Images are measured, rotated according to their EXIF data and optimised (Images).

Uploads use a short-lived signed upload link (10 minutes) tied to your project and the specific file, so an interrupted upload can simply be retried.

Example

Example
Uploading… 2 files to go
  ✓ hero-kitchen.jpg        2.1 MB
  ⟳ brochure-2026.pdf       uploading…
  ✗ promo.mov               promo.mov: this file type isn't supported. Use … video (MP4, WebM) …

Common mistakes

  • MOV, HEIC or TIFF files. Convert to MP4 / JPG / PNG first.
  • Very large photos. Resize to the size you actually need; 25 MB images slow the editor down even though the app serves optimised variants.
  • Uploading as a viewer. Only editors and above can upload.
  • Expecting uploads to be private. Asset URLs are public to anyone who has the link.

Advanced

Two-step signed upload: POST /api/projects/:id/assets creates a pending asset and returns an HMAC-signed URL (/api/storage/upload?token=, 10-minute expiry, bound to project, asset, storage key, maximum size and declared type); PUT to that URL delivers the bytes, which are sniffed (sniffMime), sanitised (sanitizeSvg), processed (sharp) and registered with an add_asset system command. Limits: ASSET_LIMIT_BYTES = 25 MB for library assets, APP_FILE_LIMIT_BYTES = 15 MB for uploads from published apps.

Related

Was this helpful?