What Are Files?
Files (assets) are static resources used in CMS sites — images, CSS stylesheets, JavaScript scripts, HTML files, and ZIP archives. Files are hosted on a CDN server and publicly accessible at a permanent URL.
Key Features
- Supported types — images (JPG, PNG, SVG, GIF), CSS, JavaScript, HTML, ZIP files
- CDN hosting — files are stored on Amazon S3 and served through CloudFront, ensuring fast loading
- Permanent URL — each file has a unique name and a permanent URL for embedding in pages and templates
- Automatic type detection — the system recognizes the file type based on its extension
- Folders — files can be organized in a hierarchical directory structure
- ZIP import — upload a ZIP archive and the system will automatically extract it and create files preserving the folder structure
Using Files
After uploading a file, use its URL in templates, pages, or CSS styles:
<!-- Image -->
<img src="FILE_URL" alt="Description">
<!-- CSS in template -->
<link rel="stylesheet" href="FILE_URL">
<!-- JavaScript -->
<script src="FILE_URL"></script>
Organizing in Folders
Folders allow you to organize files by topic (e.g., images/icons, css, js). Folders can be nested — each folder has a unique name within its parent folder.