web / lib/collections/media
lib/collections/media
Defines the Payload CMS collection configuration for Media.
This collection handles all media uploads, primarily images. It uses Payload’s built-in
upload functionality to manage file storage and automatically generate different
image sizes (e.g., thumbnail, card, tablet) for responsive design.
It also includes a field for alt text to ensure accessibility.
Variables
default
constdefault:CollectionConfig
Last updated on