Skip to content

Media

The Media Library in the admin dashboard handles uploads, a thumbnail grid and deletion.

  • Supported upload types: PNG, GIF, JPEG and WebP.
  • The type is verified from the file’s actual bytes, not from its filename extension or the browser’s Content-Type.
  • Image width and height are recorded, along with alt text you can set.

Use a file in content through a media field on a content type, or insert it into a rich text field.

To render a media field on your website, see Astro media. How files are stored is covered in Media architecture.