Skip to content

sliders ​

A list of sliders created in Website > Sliders, or null if none exist. A slider may only contain image media. Animated gifs are supported, but are not transformed to match the configured dimensions of the slider.

ACCESS

Directly accessible in all Website templates.

Example ​

json
[{
  "id": 8,
  "name": "Home",
  "width": 1600,
  "height": 900,
  "auto_crop": 0,
  "autoplay_speed": 5,
  "office_id": null,
  "cover_url": "https://cdn.syngency.com/[agencyId]/sliders/[sliderId]/[imageId].jpg",
  "created_at": "2025-01-31 12:00:00",
  "updated_at": "2025-01-31 12:00:00",
  "images": [{
    "id": 3051,
    "sort_order": 0,
    "caption": null,
    "link": null,
    "type": "image/jpeg",
    "width": 1600,
    "height": 900,
    "aspect_ratio": 0.5625,
    "url": "https://cdn.syngency.com/[agencyId]/sliders/[sliderId]/[imageId].jpg?[cacheString]",
    "created_at": "2025-01-31 12:00:00",
    "updated_at": "2025-01-31 12:00:00"
  }]
}]

Properties ​

Each item in the array has the following properties:

id integer
name string
width integer
height integer
auto_crop boolean
autoplay_speed integer
office_id integer
cover_url string

Format: absolute-url

created_at datetime
updated_at datetime
images array
id integer
sort_order integer
caption string
link string
type string
width integer
height integer
aspect_ratio number
url string

Format: absolute-url

created_at datetime
updated_at datetime