Skip to content

Instantly share code, notes, and snippets.

@abteilung
Last active December 11, 2015 07:09
Show Gist options
  • Save abteilung/4564772 to your computer and use it in GitHub Desktop.
Save abteilung/4564772 to your computer and use it in GitHub Desktop.
TS: Slideshow from media field Pics in Resources
headImages = COA
headImages {
wrap = <ul id="unislider">|</ul>
1 = COA
1 {
stdWrap.required=1
stdWrap.outerWrap.cObject = TEXT
stdWrap.outerWrap.cObject.value = <li><img src="|" /></li>
2 = IMG_RESOURCE
2 {
file {
import.data = levelmedia:-1, slide
import = uploads/media/
import.listNum = 0
//Bildgrösse festlegen (c = cut: auf diese breite/höhe zuschneiden)
width = 980c
height = 369c
}
}
}
2 < .1
2.2.file.import.listNum = 1
3 < .1
3.2.file.import.listNum = 2
4 < .1
4.2.file.import.listNum = 3
5 < .1
5.2.file.import.listNum = 4
6 < .1
6.2.file.import.listNum = 5
7 < .1
7.2.file.import.listNum = 6
8 < .1
8.2.file.import.listNum = 7
9 < .1
9.2.file.import.listNum = 8
10 < .1
10.2.file.import.listNum = 9
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment