Documentation Index
Fetch the complete documentation index at: https://mintlify.com/emmanueljarquin-sys/GrupoMecsaCMS/llms.txt
Use this file to discover all available pages before exploring further.
Overview
The Media Library provides centralized storage and management for all media files. Upload images, videos, audio files, and documents with metadata and folder organization.Key Features
Multiple File Types
Images, videos, audio, PDFs, and documents
Folder Organization
Organize media in custom folders
Metadata
Alt text, captions, and tags for searchability
Supabase Storage
Secure cloud storage with CDN
Supported File Types
media.php
Upload Process
Upload File
- Select file from computer
- Add alt text (for images)
- Add caption (optional)
- Add tags (optional)
File Storage
media.php
media_cms/[folder]/[filename]
Image Processing
media.php
Database Tables
Media Files:cms_media
| Column | Type | Description |
|---|---|---|
id | integer | Primary key |
filename | text | Original filename |
storage_path | text | Supabase path |
file_type | text | image/video/audio/document |
mime_type | text | MIME type |
file_size | integer | Size in bytes |
dimensions | jsonb | Width/height for images |
alt_text | text | Alt text |
caption | text | Caption |
tags | text | Search tags |
folder_id | integer | Folder FK |
cms_media_folders
| Column | Type | Description |
|---|---|---|
id | integer | Primary key |
name | text | Folder name |
parent_id | integer | Parent folder (nullable) |
Next Steps
Content
Use media in content
Blog
Add images to blog posts