Skip to content

Instantly share code, notes, and snippets.

@lilith
Last active December 14, 2015 22:28
Show Gist options
  • Save lilith/5158300 to your computer and use it in GitHub Desktop.
Save lilith/5158300 to your computer and use it in GitHub Desktop.
{
channel: 1, //Channel ID
originalWidth: 1600, //Original width of the source imagery
originalHeight: 1200, //Original height of the source imagery
displayWidth: 400, //The size of the output imagery (must be correct)
displayHeight: 300,
//Command that are applied to the imagery
commands: {
quality: 90,
crop: [0,0,640,480],/*Omit this line if you don't want to crop*/
mode: "max",
layers: ["1","25"]
},
series: true/false,
seriesLength: 24,
title: "Setting this overrides the title",
timestamp: "utc/local/none",
title_style: "font-family:Georgia;font-size:150%",
title_css_class: "custom-title-style",
control_style: "color:blue;",
control_css_class: "custom-control-style",
onclick: "replace/popup/popin/none",
inner: {
displayWidth: 800,
displayHeight: 600
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment