Documentation
Blog post from Sanity
Sanity offers a comprehensive asset management system that includes an extensible UI for managing various file types such as images, PDFs, audio files, and more, alongside structured content. The system features intuitive interfaces in Studio and Media Library for uploading and managing assets, and an image pipeline for on-the-fly transformations like resizing and format conversion. Sanity's global content delivery network (CDN) ensures fast content delivery worldwide, caching assets indefinitely based on content hashes. The platform supports rich metadata extraction from images, including dimensions, color palettes, and optional camera data, which can enhance application features such as color-based search and location-based filtering. Sanity supports two primary asset types: image and file assets, with additional options available for video assets through third-party plugins or the Media Library for Enterprise customers. Asset management can be tailored to team needs, whether through Studio for smaller teams or Media Library for centralized management, and offers programmatic control via GROQ for querying and manipulating assets as documents in the dataset.