Medium - Liquid Object Reference - 0.11.2
Object Name | Medium |
Version | 0.11.2 |
Description
The Medium object contains information about a medium that has been uploaded via the CMS.
Attributes
Attribute | Type | Description |
---|---|---|
alt_text | String | Returns the value of the Alt Text attribute |
description | String | Returns the value of the Description attribute |
download_url | String | Returns a url for this Medium that will trigger a file download in the browser |
file_type | String | Returns the value of the File Type attribute |
id | String | Returns the unique id for this Medium |
image | Image | Returns an Image object for this Medium if the file_type is ‘image’ |
name | String | Returns the value of the Name attribute |
url | String | Returns the complete url for this Medium |
Objects that return Media
Back to Liquid Reference for 0.11.2
Back to Documentation