File - Liquid Object Reference
On this page
Description
The File object contains information about a file that has been uploaded via the CMS.
:::note
This object supports custom data via the data attribute.
:::
Attributes
| Attribute | Type | Description |
|---|---|---|
alt_text |
String | Returns the value of the Alt Text attribute |
description |
String | Returns the value of the Description attribute |
file_type |
String | Returns the value of the File Type attribute |
id |
String | Returns the unique id for this File |
name |
String | Returns the value of the Name attribute |
url |
String | Returns the complete url for this File |
Available on
- ContentBlock - Liquid Object Reference —
file - Medium - Liquid Object Reference —
file - Product - Liquid Object Reference —
files,variant_files
Was this article helpful?
Thanks for your feedback! It helps us improve our docs.